forked from AuroraMiddleware/gtk
fontchooser: Fix code to make it not look like GTK 0.9
This commit is contained in:
parent
b95bbb5e39
commit
d88b7a6d6b
@ -945,11 +945,9 @@ gtk_font_chooser_widget_screen_changed (GtkWidget *widget,
|
||||
{
|
||||
GtkFontChooserWidget *fontchooser = GTK_FONT_CHOOSER_WIDGET (widget);
|
||||
GtkFontChooserWidgetPrivate *priv = fontchooser->priv;
|
||||
void (* screen_changed) (GtkWidget *, GdkScreen *) =
|
||||
GTK_WIDGET_CLASS (gtk_font_chooser_widget_parent_class)->screen_changed;
|
||||
|
||||
if (screen_changed)
|
||||
screen_changed (widget, previous_screen);
|
||||
if (GTK_WIDGET_CLASS (gtk_font_chooser_widget_parent_class)->screen_changed)
|
||||
GTK_WIDGET_CLASS (gtk_font_chooser_widget_parent_class)->screen_changed (widget, previous_screen);
|
||||
|
||||
populate_list (fontchooser,
|
||||
GTK_TREE_VIEW (priv->family_face_list),
|
||||
|
Loading…
Reference in New Issue
Block a user