[giggle] Do not use deprecated GTK+ symbols
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] Do not use deprecated GTK+ symbols
- Date: Tue, 26 Oct 2010 15:47:50 +0000 (UTC)
commit 3861bf95903ee078182dad6b5cc90b9df3da9057
Author: Javier Jardón <jjardon gnome org>
Date: Tue Oct 26 17:42:03 2010 +0200
Do not use deprecated GTK+ symbols
Use gdk_window_get_width() instead gdk_window_get_size()
configure.ac | 2 +-
src/giggle-view-file.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 51461f5..e3655be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,7 +51,7 @@ PKG_CHECK_MODULES(GIGGLE, [
gio-2.0 >= 2.18
glib-2.0 >= 2.18
gthread-2.0 >= 2.16
- gtk+-2.0 >= 2.18
+ gtk+-2.0 >= 2.23
gtksourceview-2.0 >= 2.8
])
diff --git a/src/giggle-view-file.c b/src/giggle-view-file.c
index 6ffc2b8..89f3d88 100644
--- a/src/giggle-view-file.c
+++ b/src/giggle-view-file.c
@@ -619,7 +619,7 @@ source_view_expose_event_cb (GtkTextView *text_view,
gtk_text_view_get_iter_at_location (text_view, &iter, visible_rect.x, visible_rect.y);
visible_rect.y += visible_rect.height;
- gdk_drawable_get_size (left_margin, &margin_width, NULL);
+ margin_width = gdk_window_get_width (left_margin);
cairo_translate (cr, margin_width - 16, 0); /* FIXME: see GB#572785 */
do {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]