[Xfce4-commits] <xfce4-panel:devel> Review SeparatorPlugin.

Nick Schermer noreply at xfce.org
Wed Jan 20 21:08:24 CET 2010


Updating branch refs/heads/devel
         to e9fc23ac607c402d3c53047b722267012faf4174 (commit)
       from d4a07313d94d971104d3d36a5bb54013c33c1c6e (commit)

commit e9fc23ac607c402d3c53047b722267012faf4174
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Jan 20 20:38:32 2010 +0100

    Review SeparatorPlugin.

 plugins/separator/separator.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/plugins/separator/separator.c b/plugins/separator/separator.c
index 159da47..e4a5ff5 100644
--- a/plugins/separator/separator.c
+++ b/plugins/separator/separator.c
@@ -144,7 +144,6 @@ separator_plugin_class_init (SeparatorPluginClass *klass)
 static void
 separator_plugin_init (SeparatorPlugin *plugin)
 {
-  /* initialize */
   plugin->style = SEPARATOR_PLUGIN_STYLE_DEFAULT;
 }
 
@@ -229,7 +228,6 @@ separator_plugin_expose_event (GtkWidget      *widget,
         if (xfce_panel_plugin_get_orientation (XFCE_PANEL_PLUGIN (plugin)) ==
             GTK_ORIENTATION_HORIZONTAL)
           {
-            /* paint vertical separator */
             gtk_paint_vline (widget->style,
                              widget->window,
                              GTK_WIDGET_STATE (widget),
@@ -241,7 +239,6 @@ separator_plugin_expose_event (GtkWidget      *widget,
           }
         else
           {
-            /* paint horizontal separator */
             gtk_paint_hline (widget->style,
                              widget->window,
                              GTK_WIDGET_STATE (widget),
@@ -254,7 +251,6 @@ separator_plugin_expose_event (GtkWidget      *widget,
         break;
 
       case SEPARATOR_PLUGIN_STYLE_HANDLE:
-        /* paint handle box */
         gtk_paint_handle (widget->style,
                           widget->window,
                           GTK_WIDGET_STATE (widget),



More information about the Xfce4-commits mailing list