[dia] Don't use deprecated function gdk_window_get_size().



commit 9d7acabb1f8d1d3770f38a8a01f36277ee0a1680
Author: Adam Buchbinder <adam buchbinder gmail com>
Date:   Mon May 4 12:17:26 2009 -0400

    Don't use deprecated function gdk_window_get_size().
    
    Replaced gdk_window_get_size() with gdk_drawable_get_size():
    http://library.gnome.org/devel/gdk/stable/gdk-Windows.html#gdk-window-get-size
    
    Signed-off-by: Adam Buchbinder <adam buchbinder gmail com>
    Signed-off-by: Hans Breuer <hans breuer org>
---
 app/linewidth_area.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/linewidth_area.c b/app/linewidth_area.c
index babd661..2b38bcf 100644
--- a/app/linewidth_area.c
+++ b/app/linewidth_area.c
@@ -86,7 +86,7 @@ linewidth_area_draw (GtkWidget *linewidth_area)
 			       GDK_JOIN_MITER);
   }
 
-  gdk_window_get_size (linewidth_area_pixmap, &width, &height);
+  gdk_drawable_get_size (linewidth_area_pixmap, &width, &height);
 
   win_bg = &(linewidth_area->style->bg[GTK_STATE_NORMAL]);
   line = color_gdk_black;



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