MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / create_builder_or_die

Function create_builder_or_die

gtk/src/application.c:77–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75static gboolean redirect_io = TRUE;
76
77static GtkBuilder*
78create_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

Callers 1

ghb_application_activateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected