diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-19 19:03:49 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-19 19:03:49 +0000 |
commit | be40ecbfe60dcc0ad5430afe7dbcd97d55728383 (patch) | |
tree | b691c48ba262352dadc71c5874ff0c6d22871c2f /gtk/gtkshortcutswindow.h | |
parent | c31eadc3a10210d0013503af82b08d3f99da7a0e (diff) | |
download | gtk+-be40ecbfe60dcc0ad5430afe7dbcd97d55728383.tar.gz |
shortcuts window: Make not subclassable
Part of being more explicit about what
we allow to be subclassed and what not.
Diffstat (limited to 'gtk/gtkshortcutswindow.h')
-rw-r--r-- | gtk/gtkshortcutswindow.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk/gtkshortcutswindow.h b/gtk/gtkshortcutswindow.h index ec30006da1..09249d122d 100644 --- a/gtk/gtkshortcutswindow.h +++ b/gtk/gtkshortcutswindow.h @@ -29,10 +29,7 @@ G_BEGIN_DECLS #define GTK_TYPE_SHORTCUTS_WINDOW (gtk_shortcuts_window_get_type ()) #define GTK_SHORTCUTS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_WINDOW, GtkShortcutsWindow)) -#define GTK_SHORTCUTS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SHORTCUTS_WINDOW, GtkShortcutsWindowClass)) #define GTK_IS_SHORTCUTS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_WINDOW)) -#define GTK_IS_SHORTCUTS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SHORTCUTS_WINDOW)) -#define GTK_SHORTCUTS_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SHORTCUTS_WINDOW, GtkShortcutsWindowClass)) typedef struct _GtkShortcutsWindow GtkShortcutsWindow; @@ -44,14 +41,6 @@ struct _GtkShortcutsWindow GtkWindow window; }; -struct _GtkShortcutsWindowClass -{ - GtkWindowClass parent_class; - - void (*close) (GtkShortcutsWindow *self); - void (*search) (GtkShortcutsWindow *self); -}; - GDK_AVAILABLE_IN_ALL GType gtk_shortcuts_window_get_type (void) G_GNUC_CONST; |