[gtk+/native-layout] Simplify the DirectFBInit call
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Simplify the DirectFBInit call
- Date: Sun, 4 Apr 2010 02:30:58 +0000 (UTC)
commit db0faed54cd9ce62c832dc5efa7d34b9ec1339a1
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 23 13:06:03 2010 -0500
Simplify the DirectFBInit call
Patch by Andre Draszik, bug 609172
gdk/directfb/gdkdisplay-directfb.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gdk/directfb/gdkdisplay-directfb.c b/gdk/directfb/gdkdisplay-directfb.c
index 4483552..423e15d 100644
--- a/gdk/directfb/gdkdisplay-directfb.c
+++ b/gdk/directfb/gdkdisplay-directfb.c
@@ -66,15 +66,12 @@ GdkDisplay * gdk_display_open (const gchar *display_name)
IDirectFBInputDevice *keyboard;
DFBResult ret;
- int argc = 0;
- char **argv = NULL;
-
if (_gdk_display)
{
return GDK_DISPLAY_OBJECT(_gdk_display); /* single display only */
}
- ret = DirectFBInit (&argc,&argv);
+ ret = DirectFBInit (NULL, NULL);
if (ret != DFB_OK)
{
DirectFBError ("gdk_display_open: DirectFBInit", ret);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]