| 75 | static gboolean redirect_io = TRUE; |
| 76 | |
| 77 | static GtkBuilder* |
| 78 | create_builder_or_die (const gchar *name) |
| 79 | { |
| 80 | GtkBuilder *xml; |
| 81 | g_autoptr(GError) error = NULL; |
| 82 | |
| 83 | ghb_log_func(); |
| 84 | xml = gtk_builder_new(); |
| 85 | gtk_builder_add_from_resource(xml, "/fr/handbrake/ghb/ui/menu.ui", &error); |
| 86 | if (!error) |
| 87 | gtk_builder_add_from_resource(xml, "/fr/handbrake/ghb/ui/ghb.ui", &error); |
| 88 | |
| 89 | if (error) |
| 90 | { |
| 91 | g_error("Unable to load ui file: %s", error->message); |
| 92 | } |
| 93 | return xml; |
| 94 | } |
| 95 | |
| 96 | // Create and bind the tree model to the tree view for the audio track list |
| 97 | // Also, connect up the signal that lets us know the selection has changed |
no outgoing calls
no test coverage detected