[Xfce4-commits] <xfce4-panel:nick/gtk3> Launcher: Fixed drawing coordinates

Andrzej noreply at xfce.org
Mon Apr 15 02:20:03 CEST 2013


Updating branch refs/heads/nick/gtk3
         to e87217e3cac2ca4d630a35d28f0366b3e26c832a (commit)
       from df4ab2db9bca20eb71841cffa8d813847ca2dd57 (commit)

commit e87217e3cac2ca4d630a35d28f0366b3e26c832a
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Mon Apr 15 00:18:51 2013 +0100

    Launcher: Fixed drawing coordinates

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

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index 0f3ffad..7f7e627 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -2065,8 +2065,8 @@ launcher_plugin_button_draw (GtkWidget      *widget,
   gtk_widget_get_allocation (widget, &allocation);
 
   size = allocation.width / 3;
-  x = allocation.x + padding.left;
-  y = allocation.y + padding.top;
+  x = padding.left;
+  y = padding.top;
   offset = size + padding.left + padding.right;
   angle = 1.5 * G_PI;
 


More information about the Xfce4-commits mailing list