[Xfce4-commits] <parole:master> Remove playlist if empty on close, make hide_menubar static

Sean Davis noreply at xfce.org
Fri Oct 11 11:52:35 CEST 2013


Updating branch refs/heads/master
         to 38ac3e19be4efa57157e15f588bf10665a0a7704 (commit)
       from ea95a43cd4edb449cdd662a67ae252f99be44aaa (commit)

commit 38ac3e19be4efa57157e15f588bf10665a0a7704
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Sep 22 07:05:51 2013 -0400

    Remove playlist if empty on close, make hide_menubar static

 src/parole-medialist.c |    1 +
 src/parole-player.c    |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/parole-medialist.c b/src/parole-medialist.c
index 73ac2a6..814a54d 100644
--- a/src/parole-medialist.c
+++ b/src/parole-medialist.c
@@ -2087,6 +2087,7 @@ void parole_media_list_save_list (ParoleMediaList *list)
         {
             // If the playlist is empty, delete the list.
             remove(history);
+            g_free(history);
         }
         g_slist_free (fileslist);
     }
diff --git a/src/parole-player.c b/src/parole-player.c
index a7b5be9..d43ef04 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -2003,7 +2003,7 @@ void parole_player_fullscreen_action_cb (GtkAction *action, ParolePlayer *player
     parole_player_full_screen (player, !player->priv->full_screen);
 }
 
-void parole_player_hide_menubar_cb (GtkWidget *widget, ParolePlayer *player)
+static void parole_player_hide_menubar_cb (GtkWidget *widget, ParolePlayer *player)
 {
     gtk_widget_set_visible(player->priv->menu_bar, !gtk_widget_get_visible(player->priv->menu_bar));
 }


More information about the Xfce4-commits mailing list