diff options
author | Morten Welinder <terra@gnome.org> | 2004-08-02 16:12:10 +0000 |
---|---|---|
committer | Morten Welinder <mortenw@src.gnome.org> | 2004-08-02 16:12:10 +0000 |
commit | e6429d95481c92209ce0e114a23205b7c79446a9 (patch) | |
tree | 27828577b8771bede44f90ece3375f7fa836f84f /gtk/gtkentry.c | |
parent | 02bd687e388ec1c4c3b532478650e33afdb49525 (diff) | |
download | gtk+-e6429d95481c92209ce0e114a23205b7c79446a9.tar.gz |
C99ism.
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r-- | gtk/gtkentry.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index d82ea697af..b4a08d8ff6 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -531,7 +531,7 @@ gtk_entry_class_init (GtkEntryClass *class) TRUE, G_PARAM_READABLE | G_PARAM_WRITABLE)); - g_object_class_install_property (gobject_class, + g_object_class_install_property (gobject_class, PROP_INVISIBLE_CHAR, g_param_spec_unichar ("invisible_char", P_("Invisible character"), @@ -1609,9 +1609,10 @@ gtk_entry_motion_notify (GtkWidget *widget, { GdkDragContext *context; GtkTargetList *target_list = gtk_target_list_new (NULL, 0); - gtk_target_list_add_text_targets (target_list); guint actions = entry->editable ? GDK_ACTION_COPY | GDK_ACTION_MOVE : GDK_ACTION_COPY; - + + gtk_target_list_add_text_targets (target_list); + context = gtk_drag_begin (widget, target_list, actions, entry->button, (GdkEvent *)event); |