summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@pidgin.im>2010-07-03 03:01:08 +0000
committerSadrul Habib Chowdhury <sadrul@pidgin.im>2010-07-03 03:01:08 +0000
commit5f3ac272eb0d3b5033a3daed63526fff4738361f (patch)
tree74e94650db0788812ecf85c13b7d547a76c89e74
parent84c8a277d4440ce23f215d3ba8516c6dfb8d7540 (diff)
downloadpidgin-5f3ac272eb0d3b5033a3daed63526fff4738361f.tar.gz
Compile.
-rw-r--r--pidgin/gtkimhtmltoolbar.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/pidgin/gtkimhtmltoolbar.c b/pidgin/gtkimhtmltoolbar.c
index 12eb1377bf..cdebda8416 100644
--- a/pidgin/gtkimhtmltoolbar.c
+++ b/pidgin/gtkimhtmltoolbar.c
@@ -1278,7 +1278,7 @@ static void gtk_imhtmltoolbar_create_old_buttons(GtkIMHtmlToolbar *toolbar)
static void
button_visibility_changed(GtkWidget *button, gpointer dontcare, GtkWidget *item)
{
- if (gtk_widget_is_visible(button))
+ if (GTK_WIDGET_VISIBLE(button))
gtk_widget_hide(item);
else
gtk_widget_show(item);
@@ -1489,24 +1489,24 @@ static void gtk_imhtmltoolbar_init (GtkIMHtmlToolbar *toolbar)
gtk_button_set_relief(GTK_BUTTON(attention_button), GTK_RELIEF_NONE);
bbox = gtk_hbox_new(FALSE, 3);
gtk_container_add(GTK_CONTAINER(attention_button), bbox);
- image = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_SEND_ATTENTION,
+ image = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_SEND_ATTENTION,
gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL));
gtk_box_pack_start(GTK_BOX(bbox), image, FALSE, FALSE, 0);
label = gtk_label_new_with_mnemonic(_("_Attention!"));
gtk_box_pack_start(GTK_BOX(bbox), label, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(box), attention_button, FALSE, FALSE, 0);
- g_signal_connect_swapped(G_OBJECT(attention_button), "clicked",
+ g_signal_connect_swapped(G_OBJECT(attention_button), "clicked",
G_CALLBACK(gtk_button_clicked), wide_attention_button);
gtk_widget_show_all(attention_button);
-
+
g_signal_connect(wide_attention_button, "notify::sensitive",
G_CALLBACK(button_sensitiveness_changed), attention_button);
- g_signal_connect(wide_attentino_button, "notify::visible",
+ g_signal_connect(wide_attention_button, "notify::visible",
G_CALLBACK(button_visibility_changed), attention_button);
/* set attention button to be greyed out until we get a conversation */
- gtk_widget_set_sensitive(wide_attention_button, FALSE);
-
+ gtk_widget_set_sensitive(GTK_WIDGET(wide_attention_button), FALSE);
+
gtk_box_pack_start(GTK_BOX(hbox), box, FALSE, FALSE, 0);
g_object_set_data(G_OBJECT(hbox), "lean-view", box);
gtk_widget_show(box);