summaryrefslogtreecommitdiff
path: root/gtk/gtksignal.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-08-05 18:52:28 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-08-05 18:52:28 +0000
commit090a1ac1cb4a6f4e1e1a578c573d2a82179461c3 (patch)
treed1e30210967e4bbf6edf8658725d5f3617475194 /gtk/gtksignal.c
parentd1696ea84f062bd741aaf39fcddb5126ebd38201 (diff)
downloadgdk-pixbuf-090a1ac1cb4a6f4e1e1a578c573d2a82179461c3.tar.gz
Add a note that yes, we do know what () means and we can't change it.
Mon Aug 5 14:50:13 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.h: Add a note that yes, we do know what () means and we can't change it. Fixes for warnings reported by David L. Cooper II * tests/testtext.c: Warning fixes. Fix order of arguments to gtk_message_dialog_new(). (#85891) * gtk/gtktreeitem.c (gtk_tree_item_paint): Fix incorrect use GTK_STATE_INSENSITIVE for a shadow type. (Not clear what the drawing intent was, but it's ENABLE_BROKEN anyways.) (#85880) * gtk/gtktexttypes.c: Use character literals instead of direct constants to avoid warning. (#85878) * gtk/theme-bits/decompose-bits.c gtk/gtkstyle.c: Fix some signed/unsigned problems (#85876) * gtk/gtksignal.c (gtk_signal_newv): Add an explicit cast from GtkSignalRunType to GSignalFlags. (#85875) * gtk/gtkitemfactory.c (gtk_item_factory_add_item): Fix use of guint instead of GdkModifierType (#85871) * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): Fix signed/unsigned problem (#85870) * gtk/gtkimcontext.c (gtk_im_context_class_init): Get rid of GtkType/Signal*. (Fixes #85869 as a side effect) * gtk/gtkdnd.c (gtk_drag_get_cursor): Fix some signed/unsigned warnings (#85865)
Diffstat (limited to 'gtk/gtksignal.c')
-rw-r--r--gtk/gtksignal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtksignal.c b/gtk/gtksignal.c
index 9ee26ad35..30c2dde92 100644
--- a/gtk/gtksignal.c
+++ b/gtk/gtksignal.c
@@ -43,7 +43,8 @@ gtk_signal_newv (const gchar *name,
closure = function_offset ? g_signal_type_cclosure_new (object_type, function_offset) : 0;
- return g_signal_newv (name, object_type, signal_flags, closure, NULL, NULL, marshaller, return_val, n_params, params);
+ return g_signal_newv (name, object_type, (GSignalFlags)signal_flags, closure,
+ NULL, NULL, marshaller, return_val, n_params, params);
}
guint