diff options
author | infirit <[email protected]> | 2014-05-17 23:46:12 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-05-20 14:51:21 +0200 |
commit | b9e942a31dbe32c1292af927dd40606d516bc503 (patch) | |
tree | e3093676f1e1eae3f2842fcb59d1023343ad9510 | |
parent | 4322d7eaaf96f52ba5413ee9e3dfab95ee3f95bd (diff) | |
download | mate-session-manager-b9e942a31dbe32c1292af927dd40606d516bc503.tar.bz2 mate-session-manager-b9e942a31dbe32c1292af927dd40606d516bc503.tar.xz |
GtkTargetEntry has been in gtk+ since 2.10
-rw-r--r-- | capplet/gsm-properties-dialog.c | 11 |
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", |