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 ICON_CELL_XPAD 6
|
||||
|
||||
typedef struct {
|
||||
struct _GtkPlacesSidebar {
|
||||
GtkScrolledWindow parent;
|
||||
GtkTreeView *tree_view;
|
||||
GtkCellRenderer *eject_icon_cell_renderer;
|
||||
@ -75,11 +75,11 @@ typedef struct {
|
||||
GtkTreePath *eject_highlight_path;
|
||||
|
||||
guint bookmarks_changed_id;
|
||||
} GtkPlacesSidebar;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
struct _GtkPlacesSidebarClass {
|
||||
GtkScrolledWindowClass parent;
|
||||
} GtkPlacesSidebarClass;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
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_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);
|
||||
GtkWidget *gtk_places_sidebar_new (void);
|
||||
|
||||
Reference in New Issue
Block a user