[gtk+] Use GtkFontChooser in testtoplevelembed



commit e391bc442a8144e50da7303ad623925189c34e72
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 16 10:42:54 2011 -0400

    Use GtkFontChooser in testtoplevelembed
    
    This was pointed out in bug 656639.

 tests/testtoplevelembed.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testtoplevelembed.c b/tests/testtoplevelembed.c
index 862a0bd..4072e80 100644
--- a/tests/testtoplevelembed.c
+++ b/tests/testtoplevelembed.c
@@ -81,7 +81,7 @@ main (gint argc, gchar **argv)
   toplevel_delete_event (widget, NULL, NULL);
   g_signal_connect (widget, "delete-event", G_CALLBACK (toplevel_delete_event), NULL);
 
-  widget = gtk_font_selection_dialog_new ("the fontsel");
+  widget = gtk_font_chooser_dialog_new ("the fontsel", NULL);
   toplevel_delete_event (widget, NULL, NULL);
   g_signal_connect (widget, "delete-event", G_CALLBACK (toplevel_delete_event), NULL);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]