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:
Larry Ewing 1998-02-20 00:59:45 +00:00 committed by Larry Ewing
parent 6ff27c34f1
commit 75fbe1adae
9 changed files with 30 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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);