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.
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user