forked from AuroraMiddleware/gtk
x11: #ifdef USE_SHM function where it belongs
Otherwise, we end up with an unused function warning without SHM
This commit is contained in:
parent
baf8bf967d
commit
65c1419742
@ -1362,6 +1362,7 @@ shm_pixmap_info_destroy (gpointer data)
|
||||
}
|
||||
|
||||
|
||||
#ifdef USE_SHM
|
||||
/* Returns FALSE if we can't get a shm pixmap */
|
||||
static gboolean
|
||||
get_shm_pixmap_for_image (Display *xdisplay,
|
||||
@ -1408,7 +1409,6 @@ get_shm_pixmap_for_image (Display *xdisplay,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#ifdef USE_SHM
|
||||
/* Returns FALSE if drawing with ShmPixmaps is not possible */
|
||||
static gboolean
|
||||
draw_with_pixmaps (GdkDrawable *drawable,
|
||||
|
Loading…
Reference in New Issue
Block a user