diff options
author | Larry Ewing <lewing@discord.isc.tamu.edu> | 1998-02-20 00:59:45 +0000 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 1998-02-20 00:59:45 +0000 |
commit | 75fbe1adaecab2f97058f32bdb4861a8fd5483c1 (patch) | |
tree | 24510b8515ec87cef4987f5ac69057da9eb26d0a /gdk/gdkimage.c | |
parent | 6ff27c34f1d77e4b7f7eacb4939bb57229c1af99 (diff) | |
download | gdk-pixbuf-75fbe1adaecab2f97058f32bdb4861a8fd5483c1.tar.gz |
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
Diffstat (limited to 'gdk/gdkimage.c')
-rw-r--r-- | gdk/gdkimage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdk/gdkimage.c b/gdk/gdkimage.c index 0e4caab79..1a7273bc5 100644 --- a/gdk/gdkimage.c +++ b/gdk/gdkimage.c @@ -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; } } @@ -214,7 +213,6 @@ gdk_image_new (GdkImageType type, 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); |