diff options
author | Jasmine Hassan <[email protected]> | 2012-12-22 05:37:47 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-12-22 05:37:47 +0200 |
commit | 7b384b35d0226eed7711f2d1fa0ca04381380d23 (patch) | |
tree | 8af568152e25f943566cd34e3029c7ac5509adba /libcaja-private | |
parent | 558280660418ef9e27e36ddd0619225c691e44b7 (diff) | |
download | caja-7b384b35d0226eed7711f2d1fa0ca04381380d23.tar.bz2 caja-7b384b35d0226eed7711f2d1fa0ca04381380d23.tar.xz |
[general] Don't use deprecated gdk_drawable_get_size at all
Since we now require GTK 2.24, we can directly use
gdk_window_get_width(), gdk_window_get_height()
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-tree-view-drag-dest.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libcaja-private/caja-tree-view-drag-dest.c b/libcaja-private/caja-tree-view-drag-dest.c index 56e9a1cd..e1cb7bad 100644 --- a/libcaja-private/caja-tree-view-drag-dest.c +++ b/libcaja-private/caja-tree-view-drag-dest.c @@ -203,12 +203,8 @@ highlight_expose (GtkWidget *widget, /* FIXMEchpe: is bin window right here??? */ bin_window = gtk_tree_view_get_bin_window (GTK_TREE_VIEW (widget)); -#if GTK_CHECK_VERSION(3, 0, 0) width = gdk_window_get_width(bin_window); height = gdk_window_get_height(bin_window); -#else - gdk_drawable_get_size(bin_window, &width, &height); -#endif gtk_paint_focus (gtk_widget_get_style (widget), #if GTK_CHECK_VERSION(3,0,0) |