Add cast to avoid warning
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 1 Dec 2008 03:23:40 +0000 (12:23 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 1 Dec 2008 03:23:40 +0000 (12:23 +0900)
src/ui/gui/data-editor.c

index 74e9a0229fc60c27bf5da46637b3aafd2fa83785..42ecdef0d0ac30c950ab3b8c5ccb19d97fef2473 100644 (file)
@@ -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);