Commit e6429d95 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

C99ism.

2004-08-02  Morten Welinder  <terra@gnome.org>

	* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
parent 02bd687e
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
Mon Aug 2 01:30:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.[hc]:
......
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
Mon Aug 2 01:30:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.[hc]:
......
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
Mon Aug 2 01:30:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.[hc]:
......
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
Mon Aug 2 01:30:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.[hc]:
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment