[gtk+] gdk/gdkwindow.c: Fix compilation warning



commit 1abb8f6e7fa9999a68798e44348d2426b901de39
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Aug 24 21:27:57 2010 +0200

    gdk/gdkwindow.c: Fix compilation warning

 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 0853375..236be0a 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -3661,7 +3661,7 @@ setup_backing_rect (GdkWindow *window, GdkWindowPaint *paint, int x_offset_cairo
 {
   GdkWindowObject *private = (GdkWindowObject *) window;
   GdkWindowObject *bg_private;
-  cairo_pattern_t *pattern;
+  cairo_pattern_t *pattern = NULL;
   int x_offset = 0, y_offset = 0;
   cairo_t *cr;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]