[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 21/27: Fix incompatible pointers

noreply at xfce.org noreply at xfce.org
Tue May 31 21:30:04 CEST 2016


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

landry pushed a commit to branch master
in repository panel-plugins/xfce4-genmon-plugin.

commit d2d5a9c082e44a19bbc4b306b8c7674047f1422e
Author: ToZ <toz at localhost.localdomain>
Date:   Sat May 21 10:54:33 2016 -0400

    Fix incompatible pointers
---
 panel-plugin/config_gui.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
index d085101..d68088e 100644
--- a/panel-plugin/config_gui.c
+++ b/panel-plugin/config_gui.c
@@ -103,8 +103,8 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
         //(GtkAttachOptions) (GTK_FILL),
         //(GtkAttachOptions) (GTK_FILL), 0, 0);
 
-    gtk_widget_set_halign(GTK_CONTAINER(eventbox1), GTK_ALIGN_START);
-    gtk_widget_set_valign(GTK_CONTAINER(eventbox1), GTK_ALIGN_START);
+    gtk_widget_set_halign(eventbox1, GTK_ALIGN_START);
+    gtk_widget_set_valign(eventbox1, GTK_ALIGN_START);
 
     wSc_Period_adj = gtk_adjustment_new (15, .25, 60*60*24, .25, 1, 0);
     wSc_Period = gtk_spin_button_new (GTK_ADJUSTMENT (wSc_Period_adj), .25, 2);
@@ -156,7 +156,7 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
     //    NULL);
     gtk_widget_set_tooltip_text (wPB_Font, "Press to change font");
     
-    gtk_widget_set_halign(GTK_CONTAINER (wPB_Font), GTK_ALIGN_START);
+    gtk_widget_set_halign(wPB_Font, GTK_ALIGN_START);
 
     hbox4 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
     gtk_widget_show (hbox4);

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


More information about the Xfce4-commits mailing list