Author: nick
Date: 2008-07-08 15:31:30 +0000 (Tue, 08 Jul 2008)
New Revision: 27238

Modified:
   xfce4-settings/branches/multiple_pointers/Makefile
   xfce4-settings/branches/multiple_pointers/main.c
Log:
* Use less cflags
* Remove default dialog size to it's as small as possible.


Modified: xfce4-settings/branches/multiple_pointers/Makefile
===================================================================
--- xfce4-settings/branches/multiple_pointers/Makefile  2008-07-08 15:27:52 UTC 
(rev 27237)
+++ xfce4-settings/branches/multiple_pointers/Makefile  2008-07-08 15:31:30 UTC 
(rev 27238)
@@ -1,7 +1,7 @@
 # $Id: Makefile 26813 2008-04-10 10:24:38Z nick $
 
 CC = gcc
-CFLAGS = -pipe -O -g -ggdb -fstack-protector-all -fno-inline -Wall -Werror 
-Wuninitialized -Winit-self -Wpointer-arith -Wsign-compare -D_FORTIFY_SOURCE=2 
-DG_ENABLE_DEBUG
+CFLAGS = -pipe -O1 -Wall -Werror
 
 all:
        exo-csource --static --name=mouse_dialog_glade \

Modified: xfce4-settings/branches/multiple_pointers/main.c
===================================================================
--- xfce4-settings/branches/multiple_pointers/main.c    2008-07-08 15:27:52 UTC 
(rev 27237)
+++ xfce4-settings/branches/multiple_pointers/main.c    2008-07-08 15:31:30 UTC 
(rev 27238)
@@ -1022,10 +1022,6 @@
             adjustment = gtk_range_get_adjustment (GTK_RANGE 
(glade_xml_get_widget (gxml, "mouse-double-click-distance")));
             xfconf_g_property_bind (channel, "/Net/DoubleClickDistance", 
G_TYPE_INT, G_OBJECT (adjustment), "value");
 
-            /* gtk the dialog */
-            dialog = glade_xml_get_widget (gxml, "mouse-dialog");
-            gtk_window_set_default_size (GTK_WINDOW (dialog), 480, -1);
-
             /* initialize the dbus error variable */
             dbus_error_init (&derror);
 
@@ -1072,6 +1068,9 @@
                 /* cleanup */
                 LIBHAL_FREE_DBUS_ERROR (&derror);
             }
+            
+            /* gtk the dialog */
+            dialog = glade_xml_get_widget (gxml, "mouse-dialog");
 
             /* unlock */
             locked--;

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to