aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-picker-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'hildon/hildon-picker-dialog.c')
-rw-r--r--hildon/hildon-picker-dialog.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/hildon/hildon-picker-dialog.c b/hildon/hildon-picker-dialog.c
index 797a549..de4edf2 100644
--- a/hildon/hildon-picker-dialog.c
+++ b/hildon/hildon-picker-dialog.c
@@ -456,9 +456,6 @@ selection_completed (HildonPickerDialog *dialog)
GList *list;
gint i, n_cols;
gboolean all_selected = TRUE;
-#ifdef MAEMO_GTK
- HildonUIMode mode = HILDON_UI_MODE_NORMAL;
-#endif
priv = HILDON_PICKER_DIALOG_GET_PRIVATE (dialog);
if (HILDON_IS_TOUCH_SELECTOR_ENTRY (priv->selector)) {
@@ -470,12 +467,6 @@ selection_completed (HildonPickerDialog *dialog)
return TRUE;
}
}
-#ifdef MAEMO_GTK
- mode = hildon_touch_selector_get_hildon_ui_mode (HILDON_TOUCH_SELECTOR (priv->selector));
- if (mode == HILDON_UI_MODE_NORMAL) {
- return TRUE;
- }
-#endif
n_cols = hildon_touch_selector_get_num_columns (HILDON_TOUCH_SELECTOR (priv->selector));
for (i = 0; i < n_cols; i++) {
list = hildon_touch_selector_get_selected_rows (HILDON_TOUCH_SELECTOR (priv->selector), i);