[totem] grilo: Fix a bunch of compile warnings
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] grilo: Fix a bunch of compile warnings
- Date: Tue, 21 Jan 2014 16:31:55 +0000 (UTC)
commit 8a2e05b997ae26705422fec18eafd94f53292711
Author: Bastien Nocera <hadess hadess net>
Date: Sat Jan 18 17:31:41 2014 +0100
grilo: Fix a bunch of compile warnings
src/plugins/grilo/totem-grilo.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index 817af9b..ea02d10 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -1140,8 +1140,8 @@ get_more_browse_results_cb (GtkAdjustment *adjustment,
GtkTreeModel *real_model;
GtkTreePath *path = NULL;
- real_model = gtk_tree_model_filter_get_model (model);
- path = gtk_tree_model_filter_convert_path_to_child_path (model, end_path);
+ real_model = gtk_tree_model_filter_get_model (GTK_TREE_MODEL_FILTER (model));
+ path = gtk_tree_model_filter_convert_path_to_child_path (GTK_TREE_MODEL_FILTER (model),
end_path);
if (gtk_tree_path_get_depth (path) <= 1) {
goto continue_next;
@@ -1357,7 +1357,6 @@ create_switcher_button (TotemGriloPlugin *self,
static void
setup_source_switcher (TotemGriloPlugin *self)
{
- GtkWidget *button1, *button2;
GtkStyleContext *context;
self->priv->switcher = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
@@ -1389,8 +1388,8 @@ search_mode_changed (GObject *gobject,
if (!search_mode) {
/* One of those will fail, as there's the toggle
* button won't be active */
- source_switched (self->priv->recent, self);
- source_switched (self->priv->channels, self);
+ source_switched (GTK_TOGGLE_BUTTON (self->priv->recent), self);
+ source_switched (GTK_TOGGLE_BUTTON (self->priv->channels), self);
}
self->priv->in_search = search_mode;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]