aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-09 17:58:40 +0800
committerXan Lopez <xan@igalia.com>2013-03-09 17:58:40 +0800
commit24297d7942797bf653bbfa610e447877a3948f07 (patch)
treeb9ae41f6e76d2cbaffd6d200079601ccebc01496
parent63f279e0398daee90c2946d080b134d16cca00f2 (diff)
downloadgsoc2013-epiphany-24297d7942797bf653bbfa610e447877a3948f07.tar
gsoc2013-epiphany-24297d7942797bf653bbfa610e447877a3948f07.tar.gz
gsoc2013-epiphany-24297d7942797bf653bbfa610e447877a3948f07.tar.bz2
gsoc2013-epiphany-24297d7942797bf653bbfa610e447877a3948f07.tar.lz
gsoc2013-epiphany-24297d7942797bf653bbfa610e447877a3948f07.tar.xz
gsoc2013-epiphany-24297d7942797bf653bbfa610e447877a3948f07.tar.zst
gsoc2013-epiphany-24297d7942797bf653bbfa610e447877a3948f07.zip
pdm-dialog: remove compiler warnings
-rw-r--r--src/pdm-dialog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 89075e81c..33a5c46a8 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,