Lines 29-36
Link Here
|
29 |
#include "gdkx.h" |
29 |
#include "gdkx.h" |
30 |
#include "gdkregion-generic.h" |
30 |
#include "gdkregion-generic.h" |
31 |
|
31 |
|
32 |
#include <pango/pangoxft.h> |
|
|
33 |
|
34 |
#include <cairo-xlib.h> |
32 |
#include <cairo-xlib.h> |
35 |
|
33 |
|
36 |
#include <stdlib.h> |
34 |
#include <stdlib.h> |
Lines 2913-2919
Link Here
|
2913 |
g_return_if_fail (pixmap == NULL || !parent_relative); |
2913 |
g_return_if_fail (pixmap == NULL || !parent_relative); |
2914 |
g_return_if_fail (pixmap == NULL || gdk_drawable_get_depth (window) == gdk_drawable_get_depth (pixmap)); |
2914 |
g_return_if_fail (pixmap == NULL || gdk_drawable_get_depth (window) == gdk_drawable_get_depth (pixmap)); |
2915 |
|
2915 |
|
2916 |
if (!gdk_drawable_get_colormap (pixmap)) |
2916 |
if (pixmap && !gdk_drawable_get_colormap (pixmap)) |
2917 |
{ |
2917 |
{ |
2918 |
g_warning ("gdk_window_set_back_pixmap(): pixmap must have a colormap"); |
2918 |
g_warning ("gdk_window_set_back_pixmap(): pixmap must have a colormap"); |
2919 |
return; |
2919 |
return; |