Make saving work.
[tweakr] / maemo-tweaks-desktop.c
index 7c72c86..981e8d6 100644 (file)
@@ -7,32 +7,6 @@
 
 #include <hildon/hildon-picker-button.h>
 
-GtkWidget * _build_snap_to_grid (void)
-{
-    const gchar *options[] = {"Default", "Small grid", "Large grid", NULL};
-    gint i = 0;
-    GtkWidget *button, *selector;
-
-    selector = hildon_touch_selector_new_text ();
-    while (options[i] && options[i] != '\0')
-    {
-        hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (selector),
-                                           options [i++]);
-    }
-
-    button = hildon_picker_button_new (HILDON_SIZE_AUTO,
-                                       HILDON_BUTTON_ARRANGEMENT_VERTICAL);
-
-    hildon_button_set_title (HILDON_BUTTON (button),
-                             "Snap desktop icons to grid");
-
-    hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (button),
-                                       HILDON_TOUCH_SELECTOR (selector));
-
-    gtk_widget_show (button);
-    return button;
-}
-
 static void _build (MaemoTweaksModule *self)
 {
 }