[gnome-utils] [screenshot] remove deprecated GTK+ symbols.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] [screenshot] remove deprecated GTK+ symbols.
- Date: Thu, 27 May 2010 23:14:30 +0000 (UTC)
commit 404dbb03192ee9283f02f5e5877105330f737416
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Fri May 28 01:02:02 2010 +0200
[screenshot] remove deprecated GTK+ symbols.
gnome-screenshot/screenshot-dialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-screenshot/screenshot-dialog.c b/gnome-screenshot/screenshot-dialog.c
index d939334..64d579a 100644
--- a/gnome-screenshot/screenshot-dialog.c
+++ b/gnome-screenshot/screenshot-dialog.c
@@ -75,7 +75,7 @@ on_preview_expose_event (GtkWidget *drawing_area,
/* Stolen from GtkImage. I really should just make the drawing area an
* image some day */
- if (GTK_WIDGET_STATE (drawing_area) != GTK_STATE_NORMAL)
+ if (gtk_widget_get_state (drawing_area) != GTK_STATE_NORMAL)
{
GtkIconSource *source;
@@ -87,7 +87,7 @@ on_preview_expose_event (GtkWidget *drawing_area,
pixbuf = gtk_style_render_icon (drawing_area->style,
source,
gtk_widget_get_direction (drawing_area),
- GTK_WIDGET_STATE (drawing_area),
+ gtk_widget_get_state (drawing_area),
(GtkIconSize) -1,
drawing_area,
"gtk-image");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]