summaryrefslogtreecommitdiff
path: root/capplet
diff options
context:
space:
mode:
Diffstat (limited to 'capplet')
-rw-r--r--capplet/gsm-properties-dialog.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
index c920882..193a752 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -603,7 +603,6 @@ setup_dialog (GsmPropertiesDialog *dialog)
/* we don't want to accept drags coming from this widget */
targetlist = gtk_drag_dest_get_target_list (GTK_WIDGET (treeview));
if (targetlist != NULL) {
-#if GTK_CHECK_VERSION (3, 0, 0)
GtkTargetEntry *targets;
gint n_targets;
gint i;
@@ -614,16 +613,6 @@ setup_dialog (GsmPropertiesDialog *dialog)
gtk_drag_dest_set_target_list (GTK_WIDGET (treeview), targetlist);
gtk_target_list_unref (targetlist);
gtk_target_table_free (targets, n_targets);
-#else
- GList *list;
- list = targetlist->list;
- while (list != NULL) {
- GtkTargetPair *targetpair;
- targetpair = list->data;
- targetpair->flags = GTK_TARGET_OTHER_WIDGET;
- list = list->next;
- }
-#endif
}
g_signal_connect (treeview, "drag_begin",