Fix two trivial build warnings master
authorTravis Reitter <treitter@gmail.com>
Sun, 28 Mar 2010 17:27:09 +0000 (10:27 -0700)
committerTravis Reitter <treitter@gmail.com>
Sun, 28 Mar 2010 17:27:09 +0000 (10:27 -0700)
src/milk-auth.c
src/milk-task-model.c

index a76cdc8..1683352 100644 (file)
@@ -404,8 +404,10 @@ milk_auth_task_set_priority (MilkAuth    *auth,
 
         priv = MILK_AUTH_PRIVATE (auth);
 
+        /* XXX: requiring a non-const gchar* priority is a bug in the rtm-glib
+         * API */
         return rtm_glib_tasks_set_priority (priv->rtm_glib, timeline, task,
-                        priority, error);
+                        (gchar*) priority, error);
 }
 
 /* FIXME: why does this (or something above it) totally fail if we don't have a
index 981be2a..6cc71da 100644 (file)
@@ -252,7 +252,7 @@ milk_task_model_get_sort_column_id (GtkTreeSortable *sortable,
                         GTK_TREE_SORTABLE (priv->store), column_id, order);
 }
 
-static gboolean
+static void
 milk_task_model_set_sort_column_id (GtkTreeSortable *sortable,
                                     gint             column_id,
                                     GtkSortType      order)