[Xfce4-commits] <xfmpc:master> Depends on vala 0.8+
Mike Massonnet
noreply at xfce.org
Tue Jun 8 21:26:01 CEST 2010
Updating branch refs/heads/master
to 8488138d57aa9e49248e7f3dba492c68baf10ab8 (commit)
from 8a3668defc21a5027f05cb8490b3cd7f8bc74c5c (commit)
commit 8488138d57aa9e49248e7f3dba492c68baf10ab8
Author: Romain Bouvier <skunnyk at archlinux.fr>
Date: Sun Jun 6 15:23:34 2010 +0200
Depends on vala 0.8+
configure.in.in | 2 +-
src/dbbrowser.vala | 6 +++---
src/playlist.vala | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/configure.in.in b/configure.in.in
index b0c4e3e..1b7e52d 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -62,7 +62,7 @@ dnl ***********************
dnl *** Check for valac ***
dnl ***********************
if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
- AM_PROG_VALAC([0.7.9])
+ AM_PROG_VALAC([0.8.0])
if test "x$VALAC" = "x" ; then
AC_MSG_ERROR([Cannot find the "valac" compiler in your PATH])
fi
diff --git a/src/dbbrowser.vala b/src/dbbrowser.vala
index df29ea6..8211a5b 100644
--- a/src/dbbrowser.vala
+++ b/src/dbbrowser.vala
@@ -136,7 +136,7 @@ namespace Xfmpc {
string filename = null, basename = null;
bool is_dir = false, is_bold = false;
int i = 0;
- Xfmpc.Playlist playlist = (Xfmpc.Playlist) get_data ("XfmpcPlaylist");
+ Xfmpc.Playlist playlist = get_data ("XfmpcPlaylist");
if (this.is_searching)
return;
@@ -221,7 +221,7 @@ namespace Xfmpc {
string filename = null, basename = null;
bool is_bold;
int i = 0;
- Xfmpc.Playlist playlist = (Xfmpc.Playlist) get_data ("XfmpcPlaylist");
+ Xfmpc.Playlist playlist = get_data ("XfmpcPlaylist");
if (!this.mpdclient.is_connected ())
return;
@@ -306,7 +306,7 @@ namespace Xfmpc {
Gtk.TreeIter iter;
string filename = "";
bool is_bold = false, is_dir = false;
- Xfmpc.Playlist playlist = (Xfmpc.Playlist) get_data ("XfmpcPlaylist");
+ Xfmpc.Playlist playlist = get_data ("XfmpcPlaylist");
if (!model.get_iter_first (out iter))
return;
diff --git a/src/playlist.vala b/src/playlist.vala
index e9a0eb4..36086ad 100644
--- a/src/playlist.vala
+++ b/src/playlist.vala
@@ -167,8 +167,8 @@ namespace Xfmpc {
unowned Xfmpc.Dbbrowser dbbrowser;
unowned Xfmpc.ExtendedInterface extended_interface;
- dbbrowser = (Xfmpc.Dbbrowser) get_data ("XfmpcDbbrowser");
- extended_interface = (Xfmpc.ExtendedInterface) get_data ("XfmpcExtendedInterface");
+ dbbrowser = get_data ("XfmpcDbbrowser");
+ extended_interface = get_data ("XfmpcExtendedInterface");
var selection = this.treeview.get_selection ();
if (selection.count_selected_rows () > 1)
More information about the Xfce4-commits
mailing list