From: John Darrington Date: Mon, 1 Dec 2008 03:23:40 +0000 (+0900) Subject: Add cast to avoid warning X-Git-Tag: v0.7.1~91^2~1 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=530a7d7b6d07e78b35b38356ab6aa663e1a8263c;p=pspp-builds.git Add cast to avoid warning --- diff --git a/src/ui/gui/data-editor.c b/src/ui/gui/data-editor.c index 74e9a022..42ecdef0 100644 --- a/src/ui/gui/data-editor.c +++ b/src/ui/gui/data-editor.c @@ -1047,7 +1047,7 @@ fonts_activate (GtkMenuItem *menuitem, gpointer data) current_font = GTK_WIDGET(de->data_editor)->style->font_desc; font_name = pango_font_description_to_string (current_font); - gtk_font_selection_dialog_set_font_name (dialog, font_name); + gtk_font_selection_dialog_set_font_name (GTK_FONT_SELECTION_DIALOG (dialog), font_name); g_free (font_name);