diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-15 17:17:45 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-01-04 23:37:13 +0900 |
commit | 7b2d6e5cdf169b9ab2e8c0863be236fa55f20375 (patch) | |
tree | 8c935fb8163f636cf7d6ab827076baa78d1dcdd9 /gtk/gtktreemenu.h | |
parent | 6ae724c0d319bec2a08ec57de45b546da18d318c (diff) | |
download | gtk+-7b2d6e5cdf169b9ab2e8c0863be236fa55f20375.tar.gz |
Make GtkTreeMenu a private class:
- Removed GtkTreeMenu from gtk-docs.sgml
- Removed GtkTreeMenu from gtk3-sections.txt
- Removed GtkTreeMenu from gtk.symbols
- Make GtkTreeMenu apis prefixed with '_' (including _get_type()).
- Updated GtkComboBox sources to use the private apis
- Updated GtkCellView to not mention #GtkTreeMenu in gtk-doc statements
- Updated tests/testtreemenu to not use a GtkTreeMenu but still
show a very fancy GtkComboBox
- Moved gtktreemenu.h to private headers section in the makefile.
- Removed include of gtktreemenu.h from gtk.h
Diffstat (limited to 'gtk/gtktreemenu.h')
-rw-r--r-- | gtk/gtktreemenu.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/gtk/gtktreemenu.h b/gtk/gtktreemenu.h index 5f92c6d4d6..6292466619 100644 --- a/gtk/gtktreemenu.h +++ b/gtk/gtktreemenu.h @@ -35,7 +35,7 @@ G_BEGIN_DECLS -#define GTK_TYPE_TREE_MENU (gtk_tree_menu_get_type ()) +#define GTK_TYPE_TREE_MENU (_gtk_tree_menu_get_type ()) #define GTK_TREE_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MENU, GtkTreeMenu)) #define GTK_TREE_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_MENU, GtkTreeMenuClass)) #define GTK_IS_TREE_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MENU)) @@ -85,43 +85,43 @@ struct _GtkTreeMenuClass void (*_gtk_reserved6) (void); }; -GType gtk_tree_menu_get_type (void) G_GNUC_CONST; - -GtkWidget *gtk_tree_menu_new (void); -GtkWidget *gtk_tree_menu_new_with_area (GtkCellArea *area); -GtkWidget *gtk_tree_menu_new_full (GtkCellArea *area, - GtkTreeModel *model, - GtkTreePath *root); -void gtk_tree_menu_set_model (GtkTreeMenu *menu, - GtkTreeModel *model); -GtkTreeModel *gtk_tree_menu_get_model (GtkTreeMenu *menu); -void gtk_tree_menu_set_root (GtkTreeMenu *menu, - GtkTreePath *path); -GtkTreePath *gtk_tree_menu_get_root (GtkTreeMenu *menu); -gboolean gtk_tree_menu_get_tearoff (GtkTreeMenu *menu); -void gtk_tree_menu_set_tearoff (GtkTreeMenu *menu, - gboolean tearoff); -gint gtk_tree_menu_get_wrap_width (GtkTreeMenu *menu); -void gtk_tree_menu_set_wrap_width (GtkTreeMenu *menu, - gint width); -gint gtk_tree_menu_get_row_span_column (GtkTreeMenu *menu); -void gtk_tree_menu_set_row_span_column (GtkTreeMenu *menu, - gint row_span); -gint gtk_tree_menu_get_column_span_column (GtkTreeMenu *menu); -void gtk_tree_menu_set_column_span_column (GtkTreeMenu *menu, - gint column_span); - -GtkTreeViewRowSeparatorFunc gtk_tree_menu_get_row_separator_func (GtkTreeMenu *menu); -void gtk_tree_menu_set_row_separator_func (GtkTreeMenu *menu, - GtkTreeViewRowSeparatorFunc func, - gpointer data, - GDestroyNotify destroy); - -GtkTreeMenuHeaderFunc gtk_tree_menu_get_header_func (GtkTreeMenu *menu); -void gtk_tree_menu_set_header_func (GtkTreeMenu *menu, - GtkTreeMenuHeaderFunc func, - gpointer data, - GDestroyNotify destroy); +GType _gtk_tree_menu_get_type (void) G_GNUC_CONST; + +GtkWidget *_gtk_tree_menu_new (void); +GtkWidget *_gtk_tree_menu_new_with_area (GtkCellArea *area); +GtkWidget *_gtk_tree_menu_new_full (GtkCellArea *area, + GtkTreeModel *model, + GtkTreePath *root); +void _gtk_tree_menu_set_model (GtkTreeMenu *menu, + GtkTreeModel *model); +GtkTreeModel *_gtk_tree_menu_get_model (GtkTreeMenu *menu); +void _gtk_tree_menu_set_root (GtkTreeMenu *menu, + GtkTreePath *path); +GtkTreePath *_gtk_tree_menu_get_root (GtkTreeMenu *menu); +gboolean _gtk_tree_menu_get_tearoff (GtkTreeMenu *menu); +void _gtk_tree_menu_set_tearoff (GtkTreeMenu *menu, + gboolean tearoff); +gint _gtk_tree_menu_get_wrap_width (GtkTreeMenu *menu); +void _gtk_tree_menu_set_wrap_width (GtkTreeMenu *menu, + gint width); +gint _gtk_tree_menu_get_row_span_column (GtkTreeMenu *menu); +void _gtk_tree_menu_set_row_span_column (GtkTreeMenu *menu, + gint row_span); +gint _gtk_tree_menu_get_column_span_column (GtkTreeMenu *menu); +void _gtk_tree_menu_set_column_span_column (GtkTreeMenu *menu, + gint column_span); + +GtkTreeViewRowSeparatorFunc _gtk_tree_menu_get_row_separator_func (GtkTreeMenu *menu); +void _gtk_tree_menu_set_row_separator_func (GtkTreeMenu *menu, + GtkTreeViewRowSeparatorFunc func, + gpointer data, + GDestroyNotify destroy); + +GtkTreeMenuHeaderFunc _gtk_tree_menu_get_header_func (GtkTreeMenu *menu); +void _gtk_tree_menu_set_header_func (GtkTreeMenu *menu, + GtkTreeMenuHeaderFunc func, + gpointer data, + GDestroyNotify destroy); G_END_DECLS |