Author: olivier
Date: 2006-07-16 17:03:26 +0000 (Sun, 16 Jul 2006)
New Revision: 22466
Modified:
xfwm4/trunk/src/client.c
xfwm4/trunk/src/main.c
xfwm4/trunk/src/spinning_cursor.c
xfwm4/trunk/src/transients.c
xfwm4/trunk/src/wireframe.c
Log:
Fix compilation warnings (patch from Nick Schermer <[EMAIL PROTECTED]>)
Modified: xfwm4/trunk/src/client.c
===================================================================
--- xfwm4/trunk/src/client.c 2006-07-16 16:56:56 UTC (rev 22465)
+++ xfwm4/trunk/src/client.c 2006-07-16 17:03:26 UTC (rev 22466)
@@ -1409,7 +1409,7 @@
xfwmPixmapFree (&c->pm_cache.pm_sides[SIDE_BOTTOM][INACTIVE]);
}
-void
+static void
clientGetUserTime (Client * c)
{
ScreenInfo *screen_info;
@@ -3041,7 +3041,7 @@
g_list_free (list_of_windows);
}
-void
+static void
clientDrawOutline (Client * c)
{
TRACE ("entering clientDrawOutline");
@@ -4285,7 +4285,8 @@
if (passdata->c == NULL)
{
return EVENT_FILTER_CONTINUE;
- gtk_main_quit ();
+ /* will never be executed */
+ /* gtk_main_quit (); */
}
c = passdata->c;
Modified: xfwm4/trunk/src/main.c
===================================================================
--- xfwm4/trunk/src/main.c 2006-07-16 16:56:56 UTC (rev 22465)
+++ xfwm4/trunk/src/main.c 2006-07-16 17:03:26 UTC (rev 22466)
@@ -257,7 +257,6 @@
"[--compositor=off|on|auto] "
#endif
"[--daemon] [--version|-V] [--help|-H]\n", PACKAGE);
- exit (0);
}
static void
@@ -306,7 +305,6 @@
#else
g_print ("No\n");
#endif
- exit (0);
}
#ifdef HAVE_COMPOSITOR
@@ -530,10 +528,12 @@
else if (!strcmp(argv[i], "--version") || !strcmp(argv[i], "-V"))
{
print_version ();
+ exit (0);
}
else if (!strcmp(argv[i], "--help") || !strcmp(argv[i], "-H"))
{
print_usage ();
+ exit (0);
}
}
Modified: xfwm4/trunk/src/spinning_cursor.c
===================================================================
--- xfwm4/trunk/src/spinning_cursor.c 2006-07-16 16:56:56 UTC (rev 22465)
+++ xfwm4/trunk/src/spinning_cursor.c 2006-07-16 17:03:26 UTC (rev 22466)
@@ -25,6 +25,8 @@
#include <X11/Xlib.h>
+#include "spinning_cursor.h"
+
static const unsigned char xlib_spinning_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
0x0c, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x00,
Modified: xfwm4/trunk/src/transients.c
===================================================================
--- xfwm4/trunk/src/transients.c 2006-07-16 16:56:56 UTC (rev 22465)
+++ xfwm4/trunk/src/transients.c 2006-07-16 17:03:26 UTC (rev 22466)
@@ -28,6 +28,7 @@
#include "screen.h"
#include "client.h"
#include "stacking.h"
+#include "transients.h"
Client *
clientGetTransient (Client * c)
Modified: xfwm4/trunk/src/wireframe.c
===================================================================
--- xfwm4/trunk/src/wireframe.c 2006-07-16 16:56:56 UTC (rev 22465)
+++ xfwm4/trunk/src/wireframe.c 2006-07-16 17:03:26 UTC (rev 22466)
@@ -36,6 +36,7 @@
#include "screen.h"
#include "client.h"
#include "frame.h"
+#include "wireframe.h"
#ifndef OUTLINE_WIDTH
#define OUTLINE_WIDTH 5
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits