From 530a7d7b6d07e78b35b38356ab6aa663e1a8263c Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 1 Dec 2008 12:23:40 +0900 Subject: [PATCH] Add cast to avoid warning --- src/ui/gui/data-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2