gthumb r2505 - in branches/gthumb-2-10: . src
- From: mjc svn gnome org
- To: svn-commits-list gnome org
- Subject: gthumb r2505 - in branches/gthumb-2-10: . src
- Date: Fri, 13 Feb 2009 18:14:29 +0000 (UTC)
Author: mjc
Date: Fri Feb 13 18:14:29 2009
New Revision: 2505
URL: http://svn.gnome.org/viewvc/gthumb?rev=2505&view=rev
Log:
2009-02-13 Michael J. Chudobiak <mjc svn gnome org>
* src/gth-browser.c: (menu_item_select_cb):
* src/gth-viewer.c: (menu_item_select_cb):
Fixed bug #568894 - use gtk_widget_get_action (foo), instead of
g_object_get_data (foo, "gtk-action").
Modified:
branches/gthumb-2-10/ChangeLog
branches/gthumb-2-10/src/gth-browser.c
branches/gthumb-2-10/src/gth-viewer.c
Modified: branches/gthumb-2-10/src/gth-browser.c
==============================================================================
--- branches/gthumb-2-10/src/gth-browser.c (original)
+++ branches/gthumb-2-10/src/gth-browser.c Fri Feb 13 18:14:29 2009
@@ -5289,7 +5289,7 @@
GtkAction *action;
char *message;
- action = g_object_get_data (G_OBJECT (proxy), "gtk-action");
+ action = gtk_widget_get_action (GTK_WIDGET (proxy));
g_return_if_fail (action != NULL);
g_object_get (G_OBJECT (action), "tooltip", &message, NULL);
Modified: branches/gthumb-2-10/src/gth-viewer.c
==============================================================================
--- branches/gthumb-2-10/src/gth-viewer.c (original)
+++ branches/gthumb-2-10/src/gth-viewer.c Fri Feb 13 18:14:29 2009
@@ -301,7 +301,7 @@
GtkAction *action;
char *message;
- action = g_object_get_data (G_OBJECT (proxy), "gtk-action");
+ action = gtk_widget_get_action (GTK_WIDGET (proxy));
g_return_if_fail (action != NULL);
g_object_get (G_OBJECT (action), "tooltip", &message, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]