Commit 0940974f authored by Brian Cameron's avatar Brian Cameron

Fix void function n gtkfontbutton.c so it does not try to return a value.

 Fixes bug #661089.
parent 6906ab88
......@@ -275,9 +275,9 @@ gtk_font_button_set_show_preview_entry (GtkFontButton *font_button,
GtkFontButtonPrivate *priv = font_button->priv;
if (priv->font_dialog)
return gtk_font_chooser_set_show_preview_entry (GTK_FONT_CHOOSER (priv->font_dialog), show);
priv->show_preview_entry = show != FALSE;
gtk_font_chooser_set_show_preview_entry (GTK_FONT_CHOOSER (priv->font_dialog), show);
else
priv->show_preview_entry = show != FALSE;
}
static PangoFontFamily *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment