diff options
Diffstat (limited to 'meta/recipes-sato/matchbox-panel-2/gcc-4.6.0-compile.patch')
-rw-r--r-- | meta/recipes-sato/matchbox-panel-2/gcc-4.6.0-compile.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-sato/matchbox-panel-2/gcc-4.6.0-compile.patch b/meta/recipes-sato/matchbox-panel-2/gcc-4.6.0-compile.patch new file mode 100644 index 0000000000..54ca74d8ce --- /dev/null +++ b/meta/recipes-sato/matchbox-panel-2/gcc-4.6.0-compile.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | diff -ur git.ORIG/applets/startup/startup.c git/applets/startup/startup.c | ||
2 | --- git.ORIG/applets/startup/startup.c 2011-04-28 08:13:25.000000000 -0600 | ||
3 | +++ git/applets/startup/startup.c 2011-04-28 09:36:48.521990746 -0600 | ||
4 | @@ -210,9 +210,8 @@ | ||
5 | { | ||
6 | XEvent *xevent; | ||
7 | xevent = (XEvent *) gdk_xevent; | ||
8 | - gboolean ret; | ||
9 | |||
10 | - ret = sn_display_process_event (applet->sn_display, xevent); | ||
11 | + sn_display_process_event (applet->sn_display, xevent); | ||
12 | |||
13 | return GDK_FILTER_CONTINUE; | ||
14 | } | ||
15 | @@ -223,7 +222,6 @@ | ||
16 | { | ||
17 | StartupApplet *applet; | ||
18 | Display *xdisplay; | ||
19 | - SnMonitorContext *context; | ||
20 | |||
21 | /* Create applet data structure */ | ||
22 | applet = g_slice_new0 (StartupApplet); | ||
23 | @@ -248,7 +246,7 @@ | ||
24 | |||
25 | applet->sn_display = sn_display_new (xdisplay, NULL, NULL); | ||
26 | |||
27 | - context = sn_monitor_context_new (applet->sn_display, | ||
28 | + sn_monitor_context_new (applet->sn_display, | ||
29 | DefaultScreen(xdisplay), | ||
30 | monitor_event_func, | ||
31 | (void *) applet, | ||
32 | diff -ur git.ORIG/applets/startup-notify/startup.c git/applets/startup-notify/startup.c | ||
33 | --- git.ORIG/applets/startup-notify/startup.c 2011-04-28 08:05:46.000000000 -0600 | ||
34 | +++ git/applets/startup-notify/startup.c 2011-04-28 09:42:17.793864786 -0600 | ||
35 | @@ -305,7 +305,6 @@ | ||
36 | StartupApplet *applet; | ||
37 | GtkWidget *widget; | ||
38 | Display *xdisplay; | ||
39 | - SnMonitorContext *context; | ||
40 | |||
41 | applet = g_slice_new0 (StartupApplet); | ||
42 | |||
43 | @@ -317,7 +316,7 @@ | ||
44 | |||
45 | applet->sn_display = sn_display_new (xdisplay, NULL, NULL); | ||
46 | |||
47 | - context = sn_monitor_context_new (applet->sn_display, | ||
48 | + sn_monitor_context_new (applet->sn_display, | ||
49 | DefaultScreen (xdisplay), | ||
50 | monitor_event_func, | ||
51 | applet, NULL); | ||