[gtk+/combo-refactor: 58/59] Moved GtkMenuItem private functions to the private header.



commit f5f822b91ccd2b81b21ee688cb613405f2627458
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Wed Jan 5 00:14:08 2011 +0900

    Moved GtkMenuItem private functions to the private header.

 gtk/gtkmenuitem.h        |   10 ----------
 gtk/gtkmenuitemprivate.h |    9 ++++++++-
 2 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/gtk/gtkmenuitem.h b/gtk/gtkmenuitem.h
index efa1bf0..4132e42 100644
--- a/gtk/gtkmenuitem.h
+++ b/gtk/gtkmenuitem.h
@@ -123,16 +123,6 @@ void       gtk_menu_item_set_reserve_indicator(GtkMenuItem         *menu_item,
 					       gboolean             reserve);
 gboolean   gtk_menu_item_get_reserve_indicator(GtkMenuItem         *menu_item);
 
-/* private */
-void	  _gtk_menu_item_refresh_accel_path   (GtkMenuItem	   *menu_item,
-					       const gchar	   *prefix,
-					       GtkAccelGroup	   *accel_group,
-					       gboolean		    group_changed);
-gboolean  _gtk_menu_item_is_selectable        (GtkWidget           *menu_item);
-void      _gtk_menu_item_popup_submenu        (GtkWidget           *menu_item,
-                                               gboolean             with_delay);
-void      _gtk_menu_item_popdown_submenu      (GtkWidget           *menu_item);
-
 G_END_DECLS
 
 #endif /* __GTK_MENU_ITEM_H__ */
diff --git a/gtk/gtkmenuitemprivate.h b/gtk/gtkmenuitemprivate.h
index 6c3377a..df7632f 100644
--- a/gtk/gtkmenuitemprivate.h
+++ b/gtk/gtkmenuitemprivate.h
@@ -57,7 +57,14 @@ gboolean _gtk_menu_item_is_selectable        (GtkWidget     *menu_item);
 void     _gtk_menu_item_popup_submenu        (GtkWidget     *menu_item,
                                               gboolean       with_delay);
 void     _gtk_menu_item_popdown_submenu      (GtkWidget     *menu_item);
-
+void	  _gtk_menu_item_refresh_accel_path  (GtkMenuItem   *menu_item,
+					      const gchar   *prefix,
+					      GtkAccelGroup *accel_group,
+					      gboolean	     group_changed);
+gboolean  _gtk_menu_item_is_selectable       (GtkWidget     *menu_item);
+void      _gtk_menu_item_popup_submenu       (GtkWidget     *menu_item,
+					      gboolean       with_delay);
+void      _gtk_menu_item_popdown_submenu     (GtkWidget     *menu_item);
 
 G_END_DECLS
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]