[gtk+] Fix compilation warning: Use GtkWidget instead GtkMenuItem



commit 014c28c20820a5c943ae50b473d96fe8569b2b70
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Mar 25 14:51:40 2010 +0100

    Fix compilation warning: Use GtkWidget instead GtkMenuItem

 gtk/tests/action.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/tests/action.c b/gtk/tests/action.c
index 97b25d0..dffb5b1 100644
--- a/gtk/tests/action.c
+++ b/gtk/tests/action.c
@@ -54,7 +54,7 @@ static void
 menu_item_label_notify_count (ActionTest    *fixture,
                               gconstpointer  test_data)
 {
-  GtkMenuItem *item = gtk_menu_item_new ();
+  GtkWidget *item = gtk_menu_item_new ();
   unsigned int emmisions = 0;
 
   g_signal_connect (item, "notify::label",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]