Commit c87244dd authored by Manish Singh's avatar Manish Singh

Should compile with debugging off now...

-Yosh
parent 0ef453b8
......@@ -267,7 +267,9 @@ gdk_init (int *argc,
int argc_orig = *argc;
char **argv_orig;
#ifdef G_ENABLE_DEBUG
gboolean debug_set = FALSE;
#endif
argv_orig = malloc ((argc_orig + 1) * sizeof (char*));
for (i = 0; i < argc_orig; i++)
......@@ -436,6 +438,7 @@ gdk_init (int *argc,
gdk_progname = "<unknown>";
}
#ifdef G_ENABLE_DEBUG
if (!debug_set)
{
gchar *debug_string = getenv("GDK_DEBUG");
......@@ -444,6 +447,7 @@ gdk_init (int *argc,
gdk_debug_keys,
sizeof(gdk_debug_keys) / sizeof(GDebugKey));
}
#endif
gdk_display = XOpenDisplay (gdk_display_name);
if (!gdk_display)
......
......@@ -267,7 +267,9 @@ gdk_init (int *argc,
int argc_orig = *argc;
char **argv_orig;
#ifdef G_ENABLE_DEBUG
gboolean debug_set = FALSE;
#endif
argv_orig = malloc ((argc_orig + 1) * sizeof (char*));
for (i = 0; i < argc_orig; i++)
......@@ -436,6 +438,7 @@ gdk_init (int *argc,
gdk_progname = "<unknown>";
}
#ifdef G_ENABLE_DEBUG
if (!debug_set)
{
gchar *debug_string = getenv("GDK_DEBUG");
......@@ -444,6 +447,7 @@ gdk_init (int *argc,
gdk_debug_keys,
sizeof(gdk_debug_keys) / sizeof(GDebugKey));
}
#endif
gdk_display = XOpenDisplay (gdk_display_name);
if (!gdk_display)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment