mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
Added ability to use .glade file in cwd
Original commit message from CVS: Added ability to use .glade file in cwd
This commit is contained in:
parent
9a0438ba93
commit
3651488227
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ gst_media_play_init(GstMediaPlay *mplay)
|
|||
/* load the interface */
|
||||
mplay->xml = glade_xml_new (DATADIR"gstmediaplay.glade", "gstplay");
|
||||
//mplay->xml = glade_xml_new ("/usr/local/share/gstplay/gstplay.glade", "gstplay");
|
||||
if (mplay->xml == NULL) {
|
||||
glade_xml_new ("gstmediaplay.glade", "gstplay");
|
||||
}
|
||||
g_assert (mplay->xml != NULL);
|
||||
|
||||
mplay->slider = glade_xml_get_widget(mplay->xml, "slider");
|
||||
|
|
Loading…
Reference in a new issue