1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
--- gshutdown-0.2.orig/src/timer.h 2007-04-14 17:33:39.000000000 -0500
+++ gshutdown-0.2/src/timer.h 2012-12-06 05:12:38.525897810 -0500
@@ -21,7 +21,7 @@
#ifndef __GSHUTDOWN_TIMER__
#define __GSHUTDOWN_TIMER__
-#include <glib/gtypes.h>
+#include <glib.h>
guint time_left();
gboolean timer_notify();
--- gshutdown-0.2.orig/src/misc.h 2007-04-14 17:33:39.000000000 -0500
+++ gshutdown-0.2/src/misc.h 2012-12-06 05:13:01.306051982 -0500
@@ -20,7 +20,7 @@
#ifndef __GSHUTDOWN_MISC__
#define __GSHUTDOWN_MISC__
-#include <glib/gtypes.h> /* gchar */
+#include <glib.h> /* gchar */
/* Return a data file path. e.g: gshutdown.glade */
gchar *data_path(gchar *filename);
--- gshutdown-0.2.orig/src/values.h 2007-05-19 06:42:54.000000000 -0500
+++ gshutdown-0.2/src/values.h 2012-12-06 05:24:45.017440329 -0500
@@ -21,7 +21,7 @@
#ifndef __GSHUTDOWN_VALUES__
#define __GSHUTDOWN_VALUES__
-#include <glib/gtypes.h>
+#include <glib.h>
#include "action.h"
typedef enum {
--- gshutdown-0.2.orig/src/values.c 2007-04-14 17:33:40.000000000 -0500
+++ gshutdown-0.2/src/values.c 2012-12-06 05:30:03.170195207 -0500
@@ -20,8 +20,7 @@
#include <stdio.h>
#include <string.h>
-#include <glib/gkeyfile.h>
-#include <glib/gfileutils.h> /* g_build_path */
+#include <glib.h>
#include "values.h"
#include "gui.h"
#include "detectwm.h"
--- gshutdown-0.2.orig/src/detectwm.h 2007-04-14 17:33:39.000000000 -0500
+++ gshutdown-0.2/src/detectwm.h 2012-12-06 05:35:18.027783235 -0500
@@ -21,7 +21,7 @@
#ifndef __GSHUTDOWN_WMDETECT__
#define __GSHUTDOWN_WMDETECT__
-#include <glib/gtypes.h>
+#include <glib.h>
gchar *detect_window_manager();
--- gshutdown-0.2.orig/src/misc.c 2007-04-14 17:33:39.000000000 -0500
+++ gshutdown-0.2/src/misc.c 2012-12-06 05:38:44.229476612 -0500
@@ -20,12 +20,7 @@
#include <unistd.h> /* X_OK */
#include <stdlib.h>
-#include <glib/gstdio.h>
-#include <glib/gstrfuncs.h> /* g_strdup_printf */
-#include <glib/gmem.h> /* g_free */
-#include <glib/gutils.h> /* g_getenv */
-#include <glib/gfileutils.h> /* g_file_test() */
-#include <glib/gshell.h> /* g_shell_parse_argv */
+#include <glib.h>
#include "config.h"
#include "misc.h"
#include "main.h"
--- gshutdown-0.2.orig/src/timer.c 2007-05-19 06:30:38.000000000 -0500
+++ gshutdown-0.2/src/timer.c 2012-12-06 05:42:37.654561395 -0500
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <glib/gtypes.h>
+#include <glib.h>
#include "timer.h"
#include "values.h"
#include "gui.h"
--- gshutdown-0.2.orig/src/main.c 2007-06-24 08:03:38.000000000 -0500
+++ gshutdown-0.2/src/main.c 2012-12-06 05:46:46.729676922 -0500
@@ -21,7 +21,7 @@
#include <stdlib.h>
#include <signal.h>
#include <sys/wait.h>
-#include <glib/gutils.h> /* g_atexit() */
+#include <glib.h> /* g_atexit() */
#include "main.h"
#include "gui.h"
#include "misc.h"
|