summaryrefslogtreecommitdiff
path: root/gtk/gtkpathbar.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-11 17:23:55 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-11 17:23:55 -0400
commitf1ad883e00f530d1c6b1f93977121bd7a2cf0538 (patch)
treea879a28a094953226eea2dead0ad101f658b105d /gtk/gtkpathbar.h
parent191e0e8d5e704709e5adb10d4f8f448686a4cc74 (diff)
downloadgtk+-f1ad883e00f530d1c6b1f93977121bd7a2cf0538.tar.gz
pathbar: Drop the Private struct
Diffstat (limited to 'gtk/gtkpathbar.h')
-rw-r--r--gtk/gtkpathbar.h28
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;