summaryrefslogtreecommitdiff
path: root/gtk/gtkpathbar.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristanvb@openismus.com>2013-03-30 16:35:39 +0900
committerTristan Van Berkom <tristanvb@openismus.com>2013-04-08 21:19:29 +0900
commit42f53ab58e3f905b242029c2ea446d79d2113725 (patch)
tree21da7407119442af14cb61d685abf12fb129aa50 /gtk/gtkpathbar.h
parent0f3ef7eea6e6ab228d1f5937b314e0429e0db3ec (diff)
downloadgtk+-42f53ab58e3f905b242029c2ea446d79d2113725.tar.gz
GtkPathBar: Define children with a GtkBuilder template
Diffstat (limited to 'gtk/gtkpathbar.h')
-rw-r--r--gtk/gtkpathbar.h35
1 files changed, 4 insertions, 31 deletions
diff --git a/gtk/gtkpathbar.h b/gtk/gtkpathbar.h
index 12e3d347bd..bcaad75fc3 100644
--- a/gtk/gtkpathbar.h
+++ b/gtk/gtkpathbar.h
@@ -23,8 +23,9 @@
G_BEGIN_DECLS
-typedef struct _GtkPathBar GtkPathBar;
-typedef struct _GtkPathBarClass GtkPathBarClass;
+typedef struct _GtkPathBar GtkPathBar;
+typedef struct _GtkPathBarClass GtkPathBarClass;
+typedef struct _GtkPathBarPrivate GtkPathBarPrivate;
#define GTK_TYPE_PATH_BAR (gtk_path_bar_get_type ())
@@ -38,35 +39,7 @@ struct _GtkPathBar
{
GtkContainer parent;
- GtkFileSystem *file_system;
- GFile *root_file;
- GFile *home_file;
- GFile *desktop_file;
-
- GCancellable *get_info_cancellable;
-
- GdkPixbuf *root_icon;
- GdkPixbuf *home_icon;
- GdkPixbuf *desktop_icon;
-
- GdkWindow *event_window;
-
- GList *button_list;
- GList *first_scrolled_button;
- GList *fake_root;
- GtkWidget *up_slider_button;
- GtkWidget *down_slider_button;
- guint settings_signal_id;
- gint icon_size;
- gint16 slider_width;
- gint16 spacing;
- gint16 button_offset;
- guint timer;
- guint slider_visible : 1;
- guint need_timer : 1;
- guint ignore_click : 1;
- guint scrolling_up : 1;
- guint scrolling_down : 1;
+ GtkPathBarPrivate *priv;
};
struct _GtkPathBarClass