[gtk+/native-layout] Fix compilation warning: cast to GTK_WIDGET()
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Fix compilation warning: cast to GTK_WIDGET()
- Date: Sun, 4 Apr 2010 02:08:41 +0000 (UTC)
commit 2abf1056c90487ee947401698389e5e018b3a22c
Author: Javier Jardón <jjardon gnome org>
Date: Sun Dec 20 21:17:34 2009 +0100
Fix compilation warning: cast to GTK_WIDGET()
gtk/gtkmenushell.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index 4f7d82c..f5dbce8 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -825,7 +825,7 @@ _gtk_menu_shell_update_mnemonics (GtkMenuShell *menu_shell)
((target->active_menu_item && !found) ||
(target == menu_shell &&
!target->parent_menu_shell &&
- gtk_widget_has_grab (target)));
+ gtk_widget_has_grab (GTK_WIDGET (target))));
/* While menus are up, only show underlines inside the menubar,
* not in the entire window.
@@ -834,7 +834,7 @@ _gtk_menu_shell_update_mnemonics (GtkMenuShell *menu_shell)
_gtk_label_mnemonics_visible_apply_recursively (GTK_WIDGET (target),
mnemonics_visible);
else
- gtk_window_set_mnemonics_visible (GTK_WINDOW (gtk_widget_get_toplevel (target)),
+ gtk_window_set_mnemonics_visible (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (target))),
mnemonics_visible);
if (target->active_menu_item)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]