Commit 264954cc authored by Jonh Wendell's avatar Jonh Wendell
Browse files

Updated all vinagre_utils_get_builder() calls to the new signature

parent 6d8a8c72
......@@ -44,7 +44,7 @@ show_dialog_folder (VinagreBookmarks *book,
GtkWidget *dialog, *box, *tree, *name_entry, *save_button;
const gchar *name;
xml = vinagre_utils_get_builder ();
xml = vinagre_utils_get_builder (NULL, NULL);
dialog = GTK_WIDGET (gtk_builder_get_object (xml, "bookmarks_add_edit_folder_dialog"));
name_entry = GTK_WIDGET (gtk_builder_get_object (xml, "edit_bookmark_folder_name_entry"));
box = GTK_WIDGET (gtk_builder_get_object (xml, "folder_box1"));
......@@ -129,7 +129,7 @@ show_dialog_conn (VinagreBookmarks *book,
VinagrePlugin *plugin;
gchar **props;
xml = vinagre_utils_get_builder ();
xml = vinagre_utils_get_builder (NULL, NULL);
dialog = GTK_WIDGET (gtk_builder_get_object (xml, "bookmarks_add_edit_conn_dialog"));
name_entry = GTK_WIDGET (gtk_builder_get_object (xml, "edit_bookmark_name_entry"));
host_entry = GTK_WIDGET (gtk_builder_get_object (xml, "edit_bookmark_host_entry"));
......
......@@ -378,7 +378,7 @@ VinagreConnection *vinagre_connect (VinagreWindow *window)
gint result;
VinagreConnectDialog dialog;
dialog.xml = vinagre_utils_get_builder ();
dialog.xml = vinagre_utils_get_builder (NULL, NULL);
dialog.dialog = GTK_WIDGET (gtk_builder_get_object (dialog.xml, "connect_dialog"));
gtk_window_set_transient_for (GTK_WINDOW (dialog.dialog), GTK_WINDOW (window));
......
......@@ -529,7 +529,7 @@ vinagre_prefs_dialog_show (VinagreWindow *window)
dialog = g_new (VinagrePrefsDialog, 1);
dialog->xml = vinagre_utils_get_builder ();
dialog->xml = vinagre_utils_get_builder (NULL, NULL);
dialog->dialog = GTK_WIDGET (gtk_builder_get_object (dialog->xml, "preferences_dialog"));
gtk_window_set_transient_for (GTK_WINDOW (dialog->dialog), GTK_WINDOW (window));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment