summaryrefslogtreecommitdiff
path: root/capplet/gsm-properties-dialog.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-17 23:46:12 +0200
committerinfirit <[email protected]>2014-05-20 14:51:21 +0200
commitb9e942a31dbe32c1292af927dd40606d516bc503 (patch)
treee3093676f1e1eae3f2842fcb59d1023343ad9510 /capplet/gsm-properties-dialog.c
parent4322d7eaaf96f52ba5413ee9e3dfab95ee3f95bd (diff)
downloadmate-session-manager-b9e942a31dbe32c1292af927dd40606d516bc503.tar.bz2
mate-session-manager-b9e942a31dbe32c1292af927dd40606d516bc503.tar.xz
GtkTargetEntry has been in gtk+ since 2.10
Diffstat (limited to 'capplet/gsm-properties-dialog.c')
-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",