Export GtkPlacesSidebar and the Class types, for subclassing
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
@ -33,7 +33,7 @@
|
|||||||
#define EJECT_BUTTON_XPAD 6
|
#define EJECT_BUTTON_XPAD 6
|
||||||
#define ICON_CELL_XPAD 6
|
#define ICON_CELL_XPAD 6
|
||||||
|
|
||||||
typedef struct {
|
struct _GtkPlacesSidebar {
|
||||||
GtkScrolledWindow parent;
|
GtkScrolledWindow parent;
|
||||||
GtkTreeView *tree_view;
|
GtkTreeView *tree_view;
|
||||||
GtkCellRenderer *eject_icon_cell_renderer;
|
GtkCellRenderer *eject_icon_cell_renderer;
|
||||||
@ -75,11 +75,11 @@ typedef struct {
|
|||||||
GtkTreePath *eject_highlight_path;
|
GtkTreePath *eject_highlight_path;
|
||||||
|
|
||||||
guint bookmarks_changed_id;
|
guint bookmarks_changed_id;
|
||||||
} GtkPlacesSidebar;
|
};
|
||||||
|
|
||||||
typedef struct {
|
struct _GtkPlacesSidebarClass {
|
||||||
GtkScrolledWindowClass parent;
|
GtkScrolledWindowClass parent;
|
||||||
} GtkPlacesSidebarClass;
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
GObject parent;
|
GObject parent;
|
||||||
|
|||||||
@ -38,6 +38,9 @@
|
|||||||
#define GTK_IS_PLACES_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PLACES_SIDEBAR))
|
#define GTK_IS_PLACES_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PLACES_SIDEBAR))
|
||||||
#define GTK_PLACES_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PLACES_SIDEBAR, GtkPlacesSidebarClass))
|
#define GTK_PLACES_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PLACES_SIDEBAR, GtkPlacesSidebarClass))
|
||||||
|
|
||||||
|
typedef struct _GtkPlacesSidebar GtkPlacesSidebar;
|
||||||
|
typedef struct _GtkPlacesSidebarClass GtkPlacesSidebarClass;
|
||||||
|
|
||||||
|
|
||||||
GType gtk_places_sidebar_get_type (void);
|
GType gtk_places_sidebar_get_type (void);
|
||||||
GtkWidget *gtk_places_sidebar_new (void);
|
GtkWidget *gtk_places_sidebar_new (void);
|
||||||
|
|||||||
Reference in New Issue
Block a user