forked from AuroraMiddleware/gtk
move the call to _gdk_windowing_window_init() up a little. Fixes a crash
2009-02-19 Sven Neumann <sven@gimp.org> * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open): move the call to _gdk_windowing_window_init() up a little. Fixes a crash when running on pseudo-color visuals. Thanks to Masse Nicolas for pointing this out. svn path=/trunk/; revision=22382
This commit is contained in:
parent
03796c0a90
commit
69fe31489c
@ -1,3 +1,10 @@
|
|||||||
|
2009-02-19 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* gdk/directfb/gdkdisplay-directfb.c (gdk_display_open): move the
|
||||||
|
call to _gdk_windowing_window_init() up a little. Fixes a crash
|
||||||
|
when running on pseudo-color visuals. Thanks to Masse Nicolas for
|
||||||
|
pointing this out.
|
||||||
|
|
||||||
2009-02-19 Sven Neumann <sven@gimp.org>
|
2009-02-19 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* gdk/directfb/gdkwindow-directfb.c
|
* gdk/directfb/gdkwindow-directfb.c
|
||||||
|
@ -35,14 +35,13 @@
|
|||||||
#include "gdkalias.h"
|
#include "gdkalias.h"
|
||||||
|
|
||||||
|
|
||||||
|
extern void _gdk_visual_init (void);
|
||||||
extern void _gdk_visual_init (void);
|
extern void _gdk_events_init (void);
|
||||||
extern void _gdk_events_init (void);
|
extern void _gdk_input_init (void);
|
||||||
extern void _gdk_input_init (void);
|
extern void _gdk_dnd_init (void);
|
||||||
extern void _gdk_dnd_init (void);
|
extern void _gdk_windowing_window_init (void);
|
||||||
extern void _gdk_windowing_window_init (void);
|
extern void _gdk_windowing_image_init (void);
|
||||||
extern void _gdk_windowing_image_init (void);
|
extern void _gdk_directfb_keyboard_init (void);
|
||||||
extern void _gdk_directfb_keyboard_init (void);
|
|
||||||
|
|
||||||
static gboolean gdk_directfb_argb_font = FALSE;
|
static gboolean gdk_directfb_argb_font = FALSE;
|
||||||
static gint gdk_directfb_glyph_surface_cache = 8;
|
static gint gdk_directfb_glyph_surface_cache = 8;
|
||||||
@ -118,11 +117,10 @@ GdkDisplay * gdk_display_open (const gchar *display_name)
|
|||||||
_gdk_screen = g_object_new (GDK_TYPE_SCREEN, NULL);
|
_gdk_screen = g_object_new (GDK_TYPE_SCREEN, NULL);
|
||||||
|
|
||||||
_gdk_visual_init ();
|
_gdk_visual_init ();
|
||||||
|
_gdk_windowing_window_init ();
|
||||||
|
|
||||||
gdk_screen_set_default_colormap (_gdk_screen,
|
gdk_screen_set_default_colormap (_gdk_screen,
|
||||||
gdk_screen_get_system_colormap (_gdk_screen));
|
gdk_screen_get_system_colormap (_gdk_screen)); _gdk_windowing_image_init ();
|
||||||
_gdk_windowing_window_init ();
|
|
||||||
_gdk_windowing_image_init ();
|
|
||||||
|
|
||||||
_gdk_input_init ();
|
_gdk_input_init ();
|
||||||
_gdk_dnd_init ();
|
_gdk_dnd_init ();
|
||||||
|
Loading…
Reference in New Issue
Block a user