gtk+ r20459 - in trunk: . gtk
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20459 - in trunk: . gtk
- Date: Thu, 19 Jun 2008 12:15:07 +0000 (UTC)
Author: johan
Date: Thu Jun 19 12:15:07 2008
New Revision: 20459
URL: http://svn.gnome.org/viewvc/gtk+?rev=20459&view=rev
Log:
2008-06-19 Johan Dahlin <jdahlin async com br>
* gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
to avoid a gcc warning.
Modified:
trunk/ChangeLog
trunk/gtk/gtkactiongroup.c
Modified: trunk/gtk/gtkactiongroup.c
==============================================================================
--- trunk/gtk/gtkactiongroup.c (original)
+++ trunk/gtk/gtkactiongroup.c Thu Jun 19 12:15:07 2008
@@ -341,9 +341,9 @@
}
typedef struct {
- GObject *child;
- guint key;
- guint modifiers;
+ GObject *child;
+ guint key;
+ GdkModifierType modifiers;
} AcceleratorParserData;
static void
@@ -356,7 +356,7 @@
{
gint i;
guint key = 0;
- gint modifiers = 0;
+ GdkModifierType modifiers = 0;
AcceleratorParserData *parser_data = (AcceleratorParserData*)user_data;
if (strcmp (element_name, "accelerator") != 0)
@@ -382,7 +382,7 @@
return;
}
parser_data->key = key;
- parser_data->modifiers = (guint)modifiers;
+ parser_data->modifiers = modifiers;
}
static const GMarkupParser accelerator_parser =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]