mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
removed g_warnings from the common XShm failure cases in gdkimage.c
Thu Feb 19 18:53:51 1998 Larry Ewing <lewing@discord.isc.tamu.edu> * removed g_warnings from the common XShm failure cases in gdkimage.c
This commit is contained in:
parent
6ff27c34f1
commit
75fbe1adae
@ -1,3 +1,7 @@
|
||||
Thu Feb 19 18:53:51 1998 Larry Ewing <lewing@discord.isc.tamu.edu>
|
||||
|
||||
* removed g_warnings from the common XShm failure cases in gdkimage.c
|
||||
|
||||
1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Added M-p and M-n
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Feb 19 18:53:51 1998 Larry Ewing <lewing@discord.isc.tamu.edu>
|
||||
|
||||
* removed g_warnings from the common XShm failure cases in gdkimage.c
|
||||
|
||||
1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Added M-p and M-n
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Feb 19 18:53:51 1998 Larry Ewing <lewing@discord.isc.tamu.edu>
|
||||
|
||||
* removed g_warnings from the common XShm failure cases in gdkimage.c
|
||||
|
||||
1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Added M-p and M-n
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Feb 19 18:53:51 1998 Larry Ewing <lewing@discord.isc.tamu.edu>
|
||||
|
||||
* removed g_warnings from the common XShm failure cases in gdkimage.c
|
||||
|
||||
1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Added M-p and M-n
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Feb 19 18:53:51 1998 Larry Ewing <lewing@discord.isc.tamu.edu>
|
||||
|
||||
* removed g_warnings from the common XShm failure cases in gdkimage.c
|
||||
|
||||
1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Added M-p and M-n
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Feb 19 18:53:51 1998 Larry Ewing <lewing@discord.isc.tamu.edu>
|
||||
|
||||
* removed g_warnings from the common XShm failure cases in gdkimage.c
|
||||
|
||||
1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Added M-p and M-n
|
||||
|
@ -1,3 +1,7 @@
|
||||
Thu Feb 19 18:53:51 1998 Larry Ewing <lewing@discord.isc.tamu.edu>
|
||||
|
||||
* removed g_warnings from the common XShm failure cases in gdkimage.c
|
||||
|
||||
1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Added M-p and M-n
|
||||
|
@ -136,7 +136,6 @@ gdk_image_init ()
|
||||
{
|
||||
if (!gdk_image_check_xshm (gdk_display))
|
||||
{
|
||||
g_warning ("MIT-SHM Extension not availible on server");
|
||||
gdk_use_xshm = False;
|
||||
}
|
||||
}
|
||||
@ -213,7 +212,6 @@ gdk_image_new (GdkImageType type,
|
||||
g_free (private->x_shm_info);
|
||||
g_free (image);
|
||||
|
||||
gdk_use_xshm = False;
|
||||
gdk_use_xshm = False;
|
||||
return NULL;
|
||||
}
|
||||
@ -249,8 +247,7 @@ gdk_image_new (GdkImageType type,
|
||||
gdk_error_warnings = 1;
|
||||
if (gdk_error_code == -1)
|
||||
{
|
||||
g_warning ("XShmAttach failed!");
|
||||
|
||||
/* this is the common failure case so omit warning */
|
||||
XDestroyImage (private->ximage);
|
||||
shmdt (x_shm_info->shmaddr);
|
||||
shmctl (x_shm_info->shmid, IPC_RMID, 0);
|
||||
|
@ -136,7 +136,6 @@ gdk_image_init ()
|
||||
{
|
||||
if (!gdk_image_check_xshm (gdk_display))
|
||||
{
|
||||
g_warning ("MIT-SHM Extension not availible on server");
|
||||
gdk_use_xshm = False;
|
||||
}
|
||||
}
|
||||
@ -213,7 +212,6 @@ gdk_image_new (GdkImageType type,
|
||||
g_free (private->x_shm_info);
|
||||
g_free (image);
|
||||
|
||||
gdk_use_xshm = False;
|
||||
gdk_use_xshm = False;
|
||||
return NULL;
|
||||
}
|
||||
@ -249,8 +247,7 @@ gdk_image_new (GdkImageType type,
|
||||
gdk_error_warnings = 1;
|
||||
if (gdk_error_code == -1)
|
||||
{
|
||||
g_warning ("XShmAttach failed!");
|
||||
|
||||
/* this is the common failure case so omit warning */
|
||||
XDestroyImage (private->ximage);
|
||||
shmdt (x_shm_info->shmaddr);
|
||||
shmctl (x_shm_info->shmid, IPC_RMID, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user