diff -r f6f1a27ade72 -r d3d820edd000 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Fri Dec 23 09:14:56 2011 +0000 +++ b/pidgin/gtkconv.c Fri Dec 23 09:21:21 2011 +0000 @@ -1230,17 +1230,17 @@ } static void -menu_get_attention_cb(GtkAction *ation, gpointer data) +menu_get_attention_cb(GObject *obj, gpointer data) { PidginWindow *win = data; PurpleConversation *conv = pidgin_conv_window_get_active_conversation(win); if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) { int index; - if (widget == win->menu.get_attention) + if ((GtkAction *)obj == win->menu.get_attention) index = 0; else - index = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), "index")); + index = GPOINTER_TO_INT(g_object_get_data(obj, "index")); purple_prpl_send_attention(purple_conversation_get_connection(conv), purple_conversation_get_name(conv), index); }