From 2ef8bd0b95dc758af59f70ec65cb54aa4101fffa Mon Sep 17 00:00:00 2001 From: Matthias Clasen <mclasen@redhat.com> Date: Tue, 28 May 2019 00:03:24 +0000 Subject: entry completion: Make final --- gtk/gtkentrycompletion.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'gtk/gtkentrycompletion.h') diff --git a/gtk/gtkentrycompletion.h b/gtk/gtkentrycompletion.h index d06449b26c..dfe561c474 100644 --- a/gtk/gtkentrycompletion.h +++ b/gtk/gtkentrycompletion.h @@ -33,14 +33,9 @@ G_BEGIN_DECLS #define GTK_TYPE_ENTRY_COMPLETION (gtk_entry_completion_get_type ()) #define GTK_ENTRY_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletion)) -#define GTK_ENTRY_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletionClass)) #define GTK_IS_ENTRY_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY_COMPLETION)) -#define GTK_IS_ENTRY_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY_COMPLETION)) -#define GTK_ENTRY_COMPLETION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletionClass)) typedef struct _GtkEntryCompletion GtkEntryCompletion; -typedef struct _GtkEntryCompletionClass GtkEntryCompletionClass; -typedef struct _GtkEntryCompletionPrivate GtkEntryCompletionPrivate; /** * GtkEntryCompletionMatchFunc: @@ -65,37 +60,6 @@ typedef gboolean (* GtkEntryCompletionMatchFunc) (GtkEntryCompletion *completion gpointer user_data); -struct _GtkEntryCompletion -{ - GObject parent_instance; - - /*< private >*/ - GtkEntryCompletionPrivate *priv; -}; - -struct _GtkEntryCompletionClass -{ - GObjectClass parent_class; - - gboolean (* match_selected) (GtkEntryCompletion *completion, - GtkTreeModel *model, - GtkTreeIter *iter); - void (* action_activated) (GtkEntryCompletion *completion, - gint index_); - gboolean (* insert_prefix) (GtkEntryCompletion *completion, - const gchar *prefix); - gboolean (* cursor_on_match) (GtkEntryCompletion *completion, - GtkTreeModel *model, - GtkTreeIter *iter); - void (* no_matches) (GtkEntryCompletion *completion); - - /* Padding for future expansion */ - void (*_gtk_reserved0) (void); - void (*_gtk_reserved1) (void); - void (*_gtk_reserved2) (void); -}; - -/* core */ GDK_AVAILABLE_IN_ALL GType gtk_entry_completion_get_type (void) G_GNUC_CONST; GDK_AVAILABLE_IN_ALL -- cgit v1.2.1