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:
Eric Warmenhoven 2002-11-08 00:19:24 +00:00 committed by Eric Warmenhoven
parent ba64031dd7
commit 0202f67266
8 changed files with 46 additions and 2 deletions

View File

@ -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> Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note * gtk/gtkwidget.c (gtk_widget_get_pango_context): Note

View File

@ -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> Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note * gtk/gtkwidget.c (gtk_widget_get_pango_context): Note

View File

@ -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> Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note * gtk/gtkwidget.c (gtk_widget_get_pango_context): Note

View File

@ -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> Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note * gtk/gtkwidget.c (gtk_widget_get_pango_context): Note

View File

@ -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> Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note * gtk/gtkwidget.c (gtk_widget_get_pango_context): Note

View File

@ -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> Thu Nov 7 18:50:38 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_pango_context): Note * gtk/gtkwidget.c (gtk_widget_get_pango_context): Note

View File

@ -38,6 +38,7 @@
#include <sys/vt.h> #include <sys/vt.h>
#include <sys/kd.h> #include <sys/kd.h>
#include <errno.h> #include <errno.h>
#include <signal.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/un.h> #include <sys/un.h>
@ -1252,6 +1253,13 @@ extern void keyboard_shutdown(void);
void void
_gdk_windowing_exit (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 (); gdk_fb_mouse_close ();
/*leak g_free (gdk_fb_mouse);*/ /*leak g_free (gdk_fb_mouse);*/

View File

@ -80,8 +80,8 @@ gdk_screen_get_number (GdkScreen *screen)
} }
gchar * gchar *
_gdk_windowing_substitute_screen_number (gchar *display_name, _gdk_windowing_substitute_screen_number (const gchar *display_name,
int screen_number) int screen_number)
{ {
return g_strdup (display_name); return g_strdup (display_name);
} }