[gtk+] Simplify the DirectFBInit call
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Simplify the DirectFBInit call
- Date: Tue, 23 Feb 2010 18:09:39 +0000 (UTC)
commit 2dc9298b41cca3e05cb12ffb8578a37312d511ed
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]