forked from AuroraMiddleware/gtk
fix compilation
Thu Nov 7 16:13:41 2002 Eric Warmenhoven <eric@warmenhoven.org> * gdk/linux-fb/gdkscreen-fb.c: fix compilation * gdk/linux-fb/gdkmain-fb.c: prevent segfaults on shutdown
This commit is contained in:
parent
ba64031dd7
commit
0202f67266
@ -1,3 +1,9 @@
|
||||
Thu Nov 7 16:13:41 2002 Eric Warmenhoven <eric@warmenhoven.org>
|
||||
|
||||
* gdk/linux-fb/gdkscreen-fb.c: fix compilation
|
||||
|
||||
* gdk/linux-fb/gdkmain-fb.c: prevent segfaults on shutdown
|
||||
|
||||
Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 7 16:13:41 2002 Eric Warmenhoven <eric@warmenhoven.org>
|
||||
|
||||
* gdk/linux-fb/gdkscreen-fb.c: fix compilation
|
||||
|
||||
* gdk/linux-fb/gdkmain-fb.c: prevent segfaults on shutdown
|
||||
|
||||
Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 7 16:13:41 2002 Eric Warmenhoven <eric@warmenhoven.org>
|
||||
|
||||
* gdk/linux-fb/gdkscreen-fb.c: fix compilation
|
||||
|
||||
* gdk/linux-fb/gdkmain-fb.c: prevent segfaults on shutdown
|
||||
|
||||
Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 7 16:13:41 2002 Eric Warmenhoven <eric@warmenhoven.org>
|
||||
|
||||
* gdk/linux-fb/gdkscreen-fb.c: fix compilation
|
||||
|
||||
* gdk/linux-fb/gdkmain-fb.c: prevent segfaults on shutdown
|
||||
|
||||
Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 7 16:13:41 2002 Eric Warmenhoven <eric@warmenhoven.org>
|
||||
|
||||
* gdk/linux-fb/gdkscreen-fb.c: fix compilation
|
||||
|
||||
* gdk/linux-fb/gdkmain-fb.c: prevent segfaults on shutdown
|
||||
|
||||
Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 7 16:13:41 2002 Eric Warmenhoven <eric@warmenhoven.org>
|
||||
|
||||
* gdk/linux-fb/gdkscreen-fb.c: fix compilation
|
||||
|
||||
* gdk/linux-fb/gdkmain-fb.c: prevent segfaults on shutdown
|
||||
|
||||
Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include <sys/vt.h>
|
||||
#include <sys/kd.h>
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
@ -1252,6 +1253,13 @@ extern void keyboard_shutdown(void);
|
||||
void
|
||||
_gdk_windowing_exit (void)
|
||||
{
|
||||
struct sigaction action;
|
||||
|
||||
/* don't get interrupted while exiting
|
||||
* (cf. gdkrender-fb.c:gdk_shadow_fb_init) */
|
||||
action.sa_handler = SIG_IGN;
|
||||
sigemptyset (&action.sa_mask);
|
||||
action.sa_flags = 0;
|
||||
|
||||
gdk_fb_mouse_close ();
|
||||
/*leak g_free (gdk_fb_mouse);*/
|
||||
|
@ -80,8 +80,8 @@ gdk_screen_get_number (GdkScreen *screen)
|
||||
}
|
||||
|
||||
gchar *
|
||||
_gdk_windowing_substitute_screen_number (gchar *display_name,
|
||||
int screen_number)
|
||||
_gdk_windowing_substitute_screen_number (const gchar *display_name,
|
||||
int screen_number)
|
||||
{
|
||||
return g_strdup (display_name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user