3 --- font_sel.c.orig Fri Jan 21 21:00:43 2005
4 +++ font_sel.c Fri Jan 21 21:01:41 2005
7 static void font_browse_clicked(GtkWidget *widget, gpointer u)
9 + gboolean is_confirmed;
10 + const gchar *curfont;
11 GtkFontSelectionDialog *font_dlg =
12 GTK_FONT_SELECTION_DIALOG(gtk_font_selection_dialog_new("Select Font"));
14 gtk_font_selection_dialog_set_preview_text(font_dlg, PROJNAME);
16 - const gchar *curfont = gtk_entry_get_text(GTK_ENTRY(font_entry));
17 + curfont = gtk_entry_get_text(GTK_ENTRY(font_entry));
19 if (g_utf8_strlen(curfont, -1))
20 gtk_font_selection_dialog_set_font_name(font_dlg, curfont);
22 - gboolean is_confirmed = FALSE;
23 + is_confirmed = FALSE;
25 g_signal_connect(G_OBJECT(font_dlg->ok_button), "clicked",
26 G_CALLBACK(font_dlg_ok_clicked), &is_confirmed);