Avoid one more warning with Gtk+ 3

This commit is contained in:
Pierre Pronchery 2015-11-22 23:22:14 +01:00
parent 54000f1dad
commit 4e8c84bead

View File

@ -96,7 +96,7 @@ static MailerPlugin * _todo_init(MailerPluginHelper * helper)
return NULL; return NULL;
} }
todo->helper = helper; todo->helper = helper;
todo->widget = gtk_vbox_new(FALSE, 4); todo->widget = gtk_box_new(GTK_ORIENTATION_VERTICAL, 4);
widget = todo_get_widget(todo->todo); widget = todo_get_widget(todo->todo);
gtk_box_pack_start(GTK_BOX(todo->widget), widget, TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(todo->widget), widget, TRUE, TRUE, 0);
gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(todo->todo->view), gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(todo->todo->view),