[epiphany] pdm-dialog: remove compiler warnings



commit 24297d7942797bf653bbfa610e447877a3948f07
Author: Xan Lopez <xan igalia com>
Date:   Sat Mar 9 10:58:40 2013 +0100

    pdm-dialog: remove compiler warnings

 src/pdm-dialog.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 89075e8..33a5c46 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -520,7 +520,7 @@ pdm_cmd_delete_selection (PdmActionInfo *action)
                gtk_tree_model_get_iter (model, &iter, path);
                gtk_tree_model_get_value (model, &iter, action->data_col, &val);
 #ifdef HAVE_WEBKIT2
-               action->remove (action, g_value_get_string (&val));
+               action->remove (action, (gpointer)g_value_get_string (&val));
 #else
                action->remove (action, G_VALUE_HOLDS_OBJECT (&val) ? g_value_get_object (&val) : 
g_value_get_boxed (&val));
 #endif
@@ -696,6 +696,7 @@ cookies_properties_clicked_cb (GtkWidget *button,
        g_list_free (l);
 }
 
+#ifndef HAVE_WEBKIT2
 static void
 cookies_treeview_selection_changed_cb (GtkTreeSelection *selection,
                                       PdmDialog *dialog)
@@ -709,6 +710,7 @@ cookies_treeview_selection_changed_cb (GtkTreeSelection *selection,
        widget = ephy_dialog_get_control (d, "cookies_properties_button");
        gtk_widget_set_sensitive (widget, has_selection);
 }
+#endif
 
 static gboolean
 cookie_search_equal (GtkTreeModel *model,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]