[gimp/gtk3-port: 147/227] app: use gtk_menu_shell_get_selected_item()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 147/227] app: use gtk_menu_shell_get_selected_item()
- Date: Mon, 11 Jun 2012 23:14:48 +0000 (UTC)
commit f518a1eb220a3c637859b5acbce99651058a1989
Author: Michael Natterer <mitch gimp org>
Date: Wed Dec 29 15:41:39 2010 +0100
app: use gtk_menu_shell_get_selected_item()
app/widgets/gimpuimanager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimpuimanager.c b/app/widgets/gimpuimanager.c
index 8418af0..855cd1a 100644
--- a/app/widgets/gimpuimanager.c
+++ b/app/widgets/gimpuimanager.c
@@ -22,8 +22,6 @@
#include <string.h>
-#undef GSEAL_ENABLE
-
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
@@ -941,7 +939,9 @@ gimp_ui_manager_item_key_press (GtkWidget *widget,
while (! help_id)
{
- GtkWidget *menu_item = GTK_MENU_SHELL (widget)->active_menu_item;
+ GtkWidget *menu_item;
+
+ menu_item = gtk_menu_shell_get_selected_item (GTK_MENU_SHELL (widget));
if (! menu_item && GTK_IS_MENU (widget))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]