[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:33:55 +0000 (UTC)
commit 9f800220ab401c216fd16d0233cdb1d61e729b7a
Author: Mukund Sivaraman <muks banu com>
Date: Wed Jul 21 20:02:58 2010 +0530
On error, exit with a message
gdk/gdkglinit.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkglinit.c b/gdk/gdkglinit.c
index a2c72fa..f7ccea9 100644
--- a/gdk/gdkglinit.c
+++ b/gdk/gdkglinit.c
@@ -21,7 +21,6 @@
#endif /* HAVE_CONFIG_H */
#include <string.h>
-#include <stdlib.h>
#include "gdkglprivate.h"
#include "gdkglquery.h"
@@ -237,5 +236,5 @@ gdk_gl_init (int *argc,
char ***argv)
{
if (!gdk_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]