diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-11 17:23:55 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-11 17:23:55 -0400 |
commit | f1ad883e00f530d1c6b1f93977121bd7a2cf0538 (patch) | |
tree | a879a28a094953226eea2dead0ad101f658b105d /gtk/gtkpathbar.h | |
parent | 191e0e8d5e704709e5adb10d4f8f448686a4cc74 (diff) | |
download | gtk+-f1ad883e00f530d1c6b1f93977121bd7a2cf0538.tar.gz |
pathbar: Drop the Private struct
Diffstat (limited to 'gtk/gtkpathbar.h')
-rw-r--r-- | gtk/gtkpathbar.h | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/gtk/gtkpathbar.h b/gtk/gtkpathbar.h index 1e9c0f1e6c..3596e64cea 100644 --- a/gtk/gtkpathbar.h +++ b/gtk/gtkpathbar.h @@ -23,31 +23,11 @@ G_BEGIN_DECLS -typedef struct _GtkPathBar GtkPathBar; -typedef struct _GtkPathBarClass GtkPathBarClass; +#define GTK_TYPE_PATH_BAR (gtk_path_bar_get_type ()) +#define GTK_PATH_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PATH_BAR, GtkPathBar)) +#define GTK_IS_PATH_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PATH_BAR)) - -#define GTK_TYPE_PATH_BAR (gtk_path_bar_get_type ()) -#define GTK_PATH_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PATH_BAR, GtkPathBar)) -#define GTK_PATH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PATH_BAR, GtkPathBarClass)) -#define GTK_IS_PATH_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PATH_BAR)) -#define GTK_IS_PATH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PATH_BAR)) -#define GTK_PATH_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PATH_BAR, GtkPathBarClass)) - -struct _GtkPathBar -{ - GtkWidget parent_instance; -}; - -struct _GtkPathBarClass -{ - GtkWidgetClass parent_class; - - void (* path_clicked) (GtkPathBar *path_bar, - GFile *file, - GFile *child_file, - gboolean child_is_hidden); -}; +typedef struct _GtkPathBar GtkPathBar; GDK_AVAILABLE_IN_ALL GType gtk_path_bar_get_type (void) G_GNUC_CONST; |