Commit 75fbe1ad authored by Larry Ewing's avatar Larry Ewing Committed by Larry Ewing
Browse files

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
parent 6ff27c34
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
......
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
......
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
......
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
......
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
......
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
......
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment