/[gentoo-x86]/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch
Gentoo

Contents of /x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 21 14:19:50 2012 UTC (2 years, 4 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Let it compile against glib-2.32

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 Index: superswitcher-0.6/src/dbus-object.h
2 ===================================================================
3 --- superswitcher-0.6.orig/src/dbus-object.h
4 +++ superswitcher-0.6/src/dbus-object.h
5 @@ -4,7 +4,7 @@
6 #ifndef SUPERSWITCHER_DBUS_OBJECT_H
7 #define SUPERSWITCHER_DBUS_OBJECT_H
8
9 -#include <glib/gtypes.h>
10 +#include <glib.h>
11
12 #include "forward_declarations.h"
13
14 Index: superswitcher-0.6/src/forward_declarations.h
15 ===================================================================
16 --- superswitcher-0.6.orig/src/forward_declarations.h
17 +++ superswitcher-0.6/src/forward_declarations.h
18 @@ -18,8 +18,7 @@ typedef struct _SSXineramaScreen SSXiner
19 #define ABNORMAL_EXIT_CODE_ANOTHER_INSTANCE_IS_RUNNING 1
20 #define ABNORMAL_EXIT_CODE_UNKNOWN_COMMAND_LINE_OPTION 2
21
22 -#include <glib/gerror.h>
23 -#include <glib/gtypes.h>
24 +#include <glib.h>
25 gboolean superswitcher_hide_popup (void *, GError **);
26 gboolean superswitcher_show_popup (void *, GError **);
27 gboolean superswitcher_toggle_popup (void *, GError **);

  ViewVC Help
Powered by ViewVC 1.1.20