aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-06-14 19:52:25 +0100
committerConor Curran <conor.curran@canonical.com>2010-06-14 19:52:25 +0100
commitb8519dc8b908adf85f88299c743106c9c3627b64 (patch)
tree7729cfb3ede12b7bec4d0c59af0c6756f3215c4f
parentede4ad390ac3d4282a4a99a58d6f398e42169ba4 (diff)
downloadayatana-indicator-sound-b8519dc8b908adf85f88299c743106c9c3627b64.tar.gz
ayatana-indicator-sound-b8519dc8b908adf85f88299c743106c9c3627b64.tar.bz2
ayatana-indicator-sound-b8519dc8b908adf85f88299c743106c9c3627b64.zip
and it compiles
-rwxr-xr-xsrc/indicator-sound.c4
-rw-r--r--src/transport-widget.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c
index ebafd9a..9f7e136 100755
--- a/src/indicator-sound.c
+++ b/src/indicator-sound.c
@@ -94,7 +94,7 @@ static void slider_released(GtkWidget *widget, gpointer user_data);
static void style_changed_cb(GtkWidget *widget, gpointer user_data);
//player widgets related
-static gboolean new_transport_bar(DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client);
+static gboolean new_transport_widget(DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client);
static gboolean new_metadata_widget(DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client);
// DBUS communication
@@ -241,7 +241,7 @@ get_menu (IndicatorObject * io)
DbusmenuGtkClient *client = dbusmenu_gtkmenu_get_client(menu);
g_object_set_data (G_OBJECT (client), "indicator", io);
dbusmenu_client_add_type_handler(DBUSMENU_CLIENT(client), DBUSMENU_SLIDER_MENUITEM_TYPE, new_slider_item);
- dbusmenu_client_add_type_handler(DBUSMENU_CLIENT(client), DBUSMENU_TRANSPORT_MENUITEM_TYPE, new_transport_bar);
+ dbusmenu_client_add_type_handler(DBUSMENU_CLIENT(client), DBUSMENU_TRANSPORT_MENUITEM_TYPE, new_transport_widget);
dbusmenu_client_add_type_handler(DBUSMENU_CLIENT(client), DBUSMENU_METADATA_MENUITEM_TYPE, new_metadata_widget);
// register Key-press listening on the menu widget as the slider does not allow this.
diff --git a/src/transport-widget.c b/src/transport-widget.c
index bc2ee40..cd73a17 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -22,7 +22,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
#include <glib/gi18n.h>
-#include "transport-bar.h"
+#include "transport-widget.h"
#include "common-defs.h"
#include <gtk/gtk.h>