summaryrefslogtreecommitdiff
path: root/tests/testfontchooser.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2011-09-12 01:49:26 +0200
committerChristian Persch <chpe@gnome.org>2011-09-13 12:55:21 +0200
commit5452525143ce10628080ceabf19cb1f68d5708a9 (patch)
tree33afac26fd60bd205d0a636ff516b8e7f0a9a221 /tests/testfontchooser.c
parent291b04402864563425b34f2c00bc936642fd41f6 (diff)
downloadgtk+-5452525143ce10628080ceabf19cb1f68d5708a9.tar.gz
Make GtkFontChooser an interface
Make the GtkFontChooser API similar to the Gtk{File,Recent,App}Chooser APIs by introducing GtkFontChooser as an interface, that has a default implementation in GtkFontChooserWidget. https://bugzilla.gnome.org/show_bug.cgi?id=657627
Diffstat (limited to 'tests/testfontchooser.c')
-rw-r--r--tests/testfontchooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testfontchooser.c b/tests/testfontchooser.c
index 580c614ebc..e92815ce65 100644
--- a/tests/testfontchooser.c
+++ b/tests/testfontchooser.c
@@ -40,7 +40,7 @@ main (int argc, char *argv[])
gtk_init (NULL, NULL);
- fontchooser = gtk_font_chooser_new ();
+ fontchooser = gtk_font_chooser_widget_new ();
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_size_request (window, 600, 600);