diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-10-29 14:55:48 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-11-05 16:52:52 +0100 |
commit | 0f6c7682b3a11d932e34a3a0bb078d9b4503de3f (patch) | |
tree | 1e115d21587108d0dad42aaf056c1fcdbb74749d /gtk/gtkfilechooser.c | |
parent | 1c46a02bcbfd70c1323e7dc661526b92e4487a27 (diff) | |
download | gtk+-0f6c7682b3a11d932e34a3a0bb078d9b4503de3f.tar.gz |
Make GtkFileChooser interface require a GObject
Before all GtkFileChooser implementations had to be a GtkWidget,
but we want to introduce one for native implementations that
is not a widget.
This is technically an ABI break, because some code could rely
on the guarantee that GtkFileChoosers are GtkWidgets and do
unchecked GtkWidget calls. However, that does seem unlikely,
and this has not really been documented anywhere.
Diffstat (limited to 'gtk/gtkfilechooser.c')
-rw-r--r-- | gtk/gtkfilechooser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c index b8513cebb4..5ed25fddd3 100644 --- a/gtk/gtkfilechooser.c +++ b/gtk/gtkfilechooser.c @@ -159,7 +159,7 @@ typedef GtkFileChooserIface GtkFileChooserInterface; -G_DEFINE_INTERFACE (GtkFileChooser, gtk_file_chooser, GTK_TYPE_WIDGET); +G_DEFINE_INTERFACE (GtkFileChooser, gtk_file_chooser, G_TYPE_OBJECT); static gboolean confirm_overwrite_accumulator (GSignalInvocationHint *ihint, |