Remove GtkFontChooser:[sg]et_font

Now that the setter doesn't return a value anymore, we can just use
g_object_[sg]et instead of having these vfuncs.
This commit is contained in:
Christian Persch
2011-09-05 22:55:05 +02:00
parent 0b7db6888a
commit 1b818f2e46
5 changed files with 8 additions and 42 deletions

View File

@ -59,12 +59,10 @@ struct _GtkFontChooserIface
GTypeInterface base_iface;
/* Methods */
gchar * (* get_font) (GtkFontChooser *chooser);
void (* set_font) (GtkFontChooser *chooser,
const gchar *fontname);
PangoFontFamily * (* get_font_family) (GtkFontChooser *chooser);
PangoFontFace * (* get_font_face) (GtkFontChooser *chooser);
gint (* get_font_size) (GtkFontChooser *chooser);
void (* set_filter_func) (GtkFontChooser *chooser,
GtkFontFilterFunc filter,
gpointer data,