[gnome-panel] libgnome-panel: don't expose gp_applet_get_flags



commit 43fe15a98b4c6ded1088d986710db2e77103a6a9
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Nov 1 17:33:46 2016 +0200

    libgnome-panel: don't expose gp_applet_get_flags

 libgnome-panel/gp-applet-private.h |   18 ++++++++++--------
 libgnome-panel/gp-applet.h         |    6 ++----
 2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/libgnome-panel/gp-applet-private.h b/libgnome-panel/gp-applet-private.h
index 000462d..6f4f2c8 100644
--- a/libgnome-panel/gp-applet-private.h
+++ b/libgnome-panel/gp-applet-private.h
@@ -27,18 +27,20 @@
 
 G_BEGIN_DECLS
 
-void       gp_applet_set_locked_down (GpApplet        *applet,
-                                      gboolean         locked_down);
+void           gp_applet_set_locked_down (GpApplet        *applet,
+                                          gboolean         locked_down);
 
-void       gp_applet_set_orientation (GpApplet        *applet,
-                                      GtkOrientation   orientation);
+void           gp_applet_set_orientation (GpApplet        *applet,
+                                          GtkOrientation   orientation);
 
-void       gp_applet_set_position    (GpApplet        *applet,
-                                      GtkPositionType  position);
+void           gp_applet_set_position    (GpApplet        *applet,
+                                          GtkPositionType  position);
 
-GArray    *gp_applet_get_size_hints  (GpApplet        *applet);
+GpAppletFlags  gp_applet_get_flags       (GpApplet        *applet);
 
-GtkWidget *gp_applet_get_menu        (GpApplet        *applet);
+GArray        *gp_applet_get_size_hints  (GpApplet        *applet);
+
+GtkWidget     *gp_applet_get_menu        (GpApplet        *applet);
 
 G_END_DECLS
 
diff --git a/libgnome-panel/gp-applet.h b/libgnome-panel/gp-applet.h
index 98ea9d7..18bc69e 100644
--- a/libgnome-panel/gp-applet.h
+++ b/libgnome-panel/gp-applet.h
@@ -45,8 +45,8 @@ G_DECLARE_DERIVABLE_TYPE (GpApplet, gp_applet, GP, APPLET, GtkEventBox)
  *     #GpApplet. This handle will be usable to move the applet, and to open
  *     the context menu of the applet.
  *
- * Flags to be used with gp_applet_get_flags() and gp_applet_set_flags(),
- * to indicate to the panel a specific behavior requested by the #GpApplet.
+ * Flags to be used with gp_applet_set_flags(), to indicate to the panel a
+ * specific behavior requested by the #GpApplet.
  */
 typedef enum
 {
@@ -87,8 +87,6 @@ GtkOrientation   gp_applet_get_orientation          (GpApplet           *applet)
 
 GtkPositionType  gp_applet_get_position             (GpApplet           *applet);
 
-GpAppletFlags    gp_applet_get_flags                (GpApplet           *applet);
-
 void             gp_applet_set_flags                (GpApplet           *applet,
                                                      GpAppletFlags       flags);
 


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