[Xfce4-commits] [xfce/xfce4-panel] 04/04: Add missing functions to documentations

noreply at xfce.org noreply at xfce.org
Wed Dec 13 23:21:36 CET 2017


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-panel.

commit 940f9fe359071e21bc014f06b9938ec9ec6b545a
Author: Romain B <skunnyk at alteroot.org>
Date:   Mon Dec 11 13:42:02 2017 +0100

    Add missing functions to documentations
    
    - Also fix some typos in comments.
---
 docs/references/libxfce4panel-sections.txt | 8 ++++++++
 libxfce4panel/xfce-panel-plugin.c          | 4 ++--
 libxfce4panel/xfce-panel-plugin.h          | 2 ++
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/docs/references/libxfce4panel-sections.txt b/docs/references/libxfce4panel-sections.txt
index f58be39..01e1608 100644
--- a/docs/references/libxfce4panel-sections.txt
+++ b/docs/references/libxfce4panel-sections.txt
@@ -97,6 +97,7 @@ xfce_screen_position_is_horizontal
 xfce_screen_position_is_left
 xfce_screen_position_is_right
 xfce_screen_position_is_top
+XfcePanelPluginMode
 <SUBSECTION Standard>
 XFCE_TYPE_SCREEN_POSITION
 xfce_screen_position_get_type
@@ -152,6 +153,13 @@ xfce_panel_plugin_lookup_rc_file
 xfce_panel_plugin_save_location
 xfce_panel_plugin_xfconf_channel_new
 xfce_panel_plugin_set_panel_hidden
+xfce_panel_plugin_get_icon_size
+xfce_panel_plugin_get_mode
+xfce_panel_plugin_get_nrows
+xfce_panel_plugin_get_shrink
+xfce_panel_plugin_get_small
+xfce_panel_plugin_set_shrink
+xfce_panel_plugin_set_small
 <SUBSECTION Standard>
 XfcePanelPluginPrivate
 XFCE_TYPE_PANEL_PLUGIN
diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c
index 6b3da3a..dd169f2 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -577,7 +577,7 @@ xfce_panel_plugin_class_init (XfcePanelPluginClass *klass)
    * XfcePanelPlugin:screen-position:
    *
    * The #XfceScreenPosition of the #XfcePanelPlugin. Plugin writer can use it
-   * to read the plugin's screen position, but xfce_panel_plugin_get_screen_psotion()
+   * to read the plugin's screen position, but xfce_panel_plugin_get_screen_position()
    * is recommended.
    **/
   plugin_props[PROP_SCREEN_POSITION] =
@@ -2377,7 +2377,7 @@ xfce_panel_plugin_unblock_menu (XfcePanelPlugin *plugin)
  *
  * Register a menu that is about to popup. This will make sure the panel
  * will properly handle its autohide behaviour. You have to call this
- * function every time the menu is opened (e.g. using gtk_popup_menu()).
+ * function every time the menu is opened (e.g. using gtk_menu_popup()).
  *
  * If you want to open the menu aligned to the side of the panel (and the
  * plugin), you should use xfce_panel_plugin_position_menu() as
diff --git a/libxfce4panel/xfce-panel-plugin.h b/libxfce4panel/xfce-panel-plugin.h
index 19be976..8b2788b 100644
--- a/libxfce4panel/xfce-panel-plugin.h
+++ b/libxfce4panel/xfce-panel-plugin.h
@@ -97,6 +97,8 @@ typedef gboolean (*XfcePanelPluginCheck) (GdkScreen *screen);
  * @configure_plugin :        See #XfcePanelPlugin::configure-plugin for more information.
  * @removed :                 See #XfcePanelPlugin::removed for more information.
  * @remote_event :            See #XfcePanelPlugin::remote-event for more information.
+ * @mode_changed :            See #XfcePanelPlugin::mode-changed for more information.
+ * @nrows_changed :           See #XfcePanelPlugin::nrows-changed for more information.
  *
  * Class of an #XfcePanelPlugin. The interface can be used to create GObject based plugin.
  **/

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list