projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a0438b
)
Added ability to use .glade file in cwd
author
Erik Walthinsen
<omega@temple-baptist.org>
Sun, 31 Dec 2000 22:49:50 +0000
(22:49 +0000)
committer
Erik Walthinsen
<omega@temple-baptist.org>
Sun, 31 Dec 2000 22:49:50 +0000
(22:49 +0000)
Original commit message from CVS:
Added ability to use .glade file in cwd
gstplay/gstmediaplay.c
patch
|
blob
|
history
diff --git
a/gstplay/gstmediaplay.c
b/gstplay/gstmediaplay.c
index
9c559f0
..
8c19685
100644
(file)
--- a/
gstplay/gstmediaplay.c
+++ b/
gstplay/gstmediaplay.c
@@
-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");