Author: benny
Date: 2006-07-16 08:17:54 +0000 (Sun, 16 Jul 2006)
New Revision: 22459

Modified:
   xfce4-session/trunk/ChangeLog
   xfce4-session/trunk/engines/balou/config.c
   xfce4-session/trunk/xfce4-session/xfsm-legacy.c
Log:
2006-07-16      Benedikt Meurer <[EMAIL PROTECTED]>

        * engines/balou/config.c, xfce4-session/xfsm-legacy.c: Apply patch
          from Nick Schermer <[EMAIL PROTECTED]> to fix a bunch of compiler
          warnings.




Modified: xfce4-session/trunk/ChangeLog
===================================================================
--- xfce4-session/trunk/ChangeLog       2006-07-16 01:37:57 UTC (rev 22458)
+++ xfce4-session/trunk/ChangeLog       2006-07-16 08:17:54 UTC (rev 22459)
@@ -1,3 +1,9 @@
+2006-07-16     Benedikt Meurer <[EMAIL PROTECTED]>
+
+       * engines/balou/config.c, xfce4-session/xfsm-legacy.c: Apply patch
+         from Nick Schermer <[EMAIL PROTECTED]> to fix a bunch of compiler
+         warnings.
+
 2006-07-10     Benedikt Meurer <[EMAIL PROTECTED]>
 
        * configure.in.in: Post-release version bump.

Modified: xfce4-session/trunk/engines/balou/config.c
===================================================================
--- xfce4-session/trunk/engines/balou/config.c  2006-07-16 01:37:57 UTC (rev 
22458)
+++ xfce4-session/trunk/engines/balou/config.c  2006-07-16 08:17:54 UTC (rev 
22459)
@@ -705,7 +705,7 @@
   gdk_property_change (context->source_window,
                        gdk_atom_intern ("XdndDirectSave0", FALSE),
                        gdk_atom_intern ("text/plain", FALSE), 8,
-                       GDK_PROP_MODE_REPLACE, filename, strlen (filename));
+                       GDK_PROP_MODE_REPLACE, (const guchar *)filename, strlen 
(filename));
 
   g_free (filename);
   g_free (name);
@@ -748,7 +748,7 @@
           prop_text = g_realloc (prop_text, prop_len + 1);
           prop_text[prop_len] = '\0';
 
-          localpath = extract_local_path (prop_text);
+          localpath = extract_local_path ((gchar *)prop_text);
 
           if (localpath != NULL)
             {
@@ -766,7 +766,7 @@
     }
 
   gtk_selection_data_set (selection_data, gdk_atom_intern ("XA_STRING", FALSE),
-                          8, to_send, 1);
+                          8, (const guchar *)to_send, 1);
 
   g_free (name);
 }

Modified: xfce4-session/trunk/xfce4-session/xfsm-legacy.c
===================================================================
--- xfce4-session/trunk/xfce4-session/xfsm-legacy.c     2006-07-16 01:37:57 UTC 
(rev 22458)
+++ xfce4-session/trunk/xfce4-session/xfsm-legacy.c     2006-07-16 08:17:54 UTC 
(rev 22459)
@@ -578,9 +578,9 @@
     {
       root = RootWindow (dpy, n);
       XChangeProperty (dpy, root, dt_save_mode, XA_STRING, 8,
-                       PropModeReplace, "xfce4", sizeof ("xfce4"));
+                       PropModeReplace, (unsigned char *)"xfce4", sizeof 
("xfce4"));
       XChangeProperty (dpy, root, dt_restore_mode, XA_STRING, 8,
-                       PropModeReplace, "xfce4", sizeof ("xfce4"));
+                       PropModeReplace, (unsigned char *)"xfce4", sizeof 
("xfce4"));
     }
 #endif
 }

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

Reply via email to