Mercurial > audlegacy
diff src/audacious/ui_skinned_textbox.c @ 4135:07c1639b110b
the less calls to gdk_window_get_pointer the better
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 30 Dec 2007 22:16:49 +0100 |
parents | 9d4b5cdae3ba |
children | 2281da647da9 |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_textbox.c Sun Dec 30 21:36:46 2007 +0100 +++ b/src/audacious/ui_skinned_textbox.c Sun Dec 30 22:16:49 2007 +0100 @@ -145,7 +145,7 @@ textbox_signals[RIGHT_CLICKED] = g_signal_new ("right-clicked", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (UiSkinnedTextboxClass, right_clicked), NULL, NULL, - gtk_marshal_VOID__VOID, G_TYPE_NONE, 0); + gtk_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); textbox_signals[DOUBLED] = g_signal_new ("toggle-double-size", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION, @@ -365,7 +365,7 @@ g_signal_emit(widget, textbox_signals[CLICKED], 0); } else if (event->button == 3) { - g_signal_emit(widget, textbox_signals[RIGHT_CLICKED], 0); + g_signal_emit(widget, textbox_signals[RIGHT_CLICKED], 0, event); } else priv->is_dragging = FALSE; } else if (event->type == GDK_2BUTTON_PRESS) {