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
This commit is contained in:
Christian Persch
2011-09-12 01:49:26 +02:00
parent 291b044028
commit 5452525143
16 changed files with 1777 additions and 1349 deletions

View File

@ -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);