pidgin/gtklog.c

branch
soc.2013.gobjectification.plugins
changeset 37133
832cd077145e
parent 37109
94d1a2589d5a
parent 35721
abae078d0525
child 37990
710f725725a8
--- a/pidgin/gtklog.c	Thu Apr 03 09:37:53 2014 +0530
+++ b/pidgin/gtklog.c	Mon Apr 07 20:02:22 2014 +0530
@@ -452,7 +452,7 @@
 			title = g_strdup_printf(_("<span size='larger' weight='bold'>Conversation with %s on %s</span>"),
 									log->name, log_get_date(log));
 
-		gtk_label_set_markup(GTK_LABEL(viewer->label), title);
+		gtk_label_set_markup(viewer->label, title);
 		g_free(title);
 	}
 
@@ -597,13 +597,13 @@
 		title_box = gtk_dialog_get_content_area(GTK_DIALOG(lv->window));
 
 	/* Label ************/
-	lv->label = gtk_label_new(NULL);
+	lv->label = GTK_LABEL(gtk_label_new(NULL));
 
 	text = g_strdup_printf("<span size='larger' weight='bold'>%s</span>", title);
 
-	gtk_label_set_markup(GTK_LABEL(lv->label), text);
+	gtk_label_set_markup(lv->label, text);
 	gtk_misc_set_alignment(GTK_MISC(lv->label), 0, 0);
-	gtk_box_pack_start(GTK_BOX(title_box), lv->label, FALSE, FALSE, 0);
+	gtk_box_pack_start(GTK_BOX(title_box), GTK_WIDGET(lv->label), FALSE, FALSE, 0);
 	g_free(text);
 
 	/* Pane *************/

mercurial