[gtkglext] On error, exit with a message
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkglext] On error, exit with a message
- Date: Wed, 21 Jul 2010 14:42:04 +0000 (UTC)
commit 23b23e668e2dc5f2cad6832f15a3bf1e06b8de68
Author: Mukund Sivaraman <muks banu com>
Date: Wed Jul 21 20:11:08 2010 +0530
On error, exit with a message
gtk/gtkglinit.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkglinit.c b/gtk/gtkglinit.c
index 13c1280..659d88f 100644
--- a/gtk/gtkglinit.c
+++ b/gtk/gtkglinit.c
@@ -21,7 +21,6 @@
#endif /* HAVE_CONFIG_H */
#include <string.h>
-#include <stdlib.h>
#include "gtkglprivate.h"
#include "gtkglinit.h"
@@ -228,5 +227,5 @@ gtk_gl_init (int *argc,
char ***argv)
{
if (!gtk_gl_init_check (argc, argv))
- exit (1);
+ g_error ("GdkGLExt library initialization fails.");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]