[MPlayer-cvslog] r36187 - trunk/gui/dialog/url.c
ib
subversion at mplayerhq.hu
Mon Apr 29 14:26:37 CEST 2013
Author: ib
Date: Mon Apr 29 14:26:37 2013
New Revision: 36187
Log:
Move declaration into scope where variable is used.
Modified:
trunk/gui/dialog/url.c
Modified: trunk/gui/dialog/url.c
==============================================================================
--- trunk/gui/dialog/url.c Mon Apr 29 14:25:17 2013 (r36186)
+++ trunk/gui/dialog/url.c Mon Apr 29 14:26:37 2013 (r36187)
@@ -40,8 +40,6 @@ static GList *urlEntries;
static void button_clicked(GtkButton *button, gpointer user_data)
{
- urlItem *item;
-
(void)button;
if (user_data) {
@@ -59,6 +57,8 @@ static void button_clicked(GtkButton *bu
}
if (str) {
+ urlItem *item;
+
uiSetFile(NULL, str, STREAMTYPE_STREAM);
listMgr(PLAYLIST_DELETE, 0);
add_to_gui_playlist(str, PLAYLIST_ITEM_APPEND);
More information about the MPlayer-cvslog
mailing list