--- trunk/src/main.c 2009/12/07 16:22:17 232 +++ trunk/src/main.c 2009/12/09 19:45:36 233 @@ -36,7 +36,6 @@ #if MAEMO_VERSION_MAJOR >= 5 #include #include -#include #endif #endif @@ -1343,33 +1342,6 @@ } search_context_t; -static GtkWidget *check_button_new_with_label(char *label) { -#if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5) - return gtk_check_button_new_with_label(label); -#else - GtkWidget *cbut = - hildon_check_button_new(HILDON_SIZE_FINGER_HEIGHT | HILDON_SIZE_AUTO_WIDTH); - gtk_button_set_label(GTK_BUTTON(cbut), label); - return cbut; -#endif -} - -static void check_button_set_active(GtkWidget *button, gboolean active) { -#if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5) - gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), active); -#else - hildon_check_button_set_active(HILDON_CHECK_BUTTON(button), active); -#endif -} - -static gboolean check_button_get_active(GtkWidget *button) { -#if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5) - return gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button)); -#else - return hildon_check_button_get_active(HILDON_CHECK_BUTTON(button)); -#endif -} - static void callback_finds_toggled(GtkWidget *widget, gpointer data ) { search_context_t *context = (search_context_t*)data;