Remove Hildon1 conditional code from hildon2.
authorSergio Villar Senin <svillar@igalia.com>
Tue, 3 Nov 2009 16:09:29 +0000 (17:09 +0100)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 3 Nov 2009 16:12:15 +0000 (17:12 +0100)
Based on an original patch by Javier Jardón.

https://bugs.maemo.org/show_bug.cgi?id=5249

src/hildon2/modest-maemo-utils.c
src/hildon2/modest-maemo-utils.h

index 2479395..40269d6 100644 (file)
@@ -244,16 +244,6 @@ modest_maemo_utils_setup_images_filechooser (GtkFileChooser *chooser)
 
 }
 
-void
-modest_maemo_set_thumbable_scrollbar (GtkScrolledWindow *win, 
-                                     gboolean thumbable)
-{
-       g_return_if_fail (GTK_IS_SCROLLED_WINDOW(win));
-#ifdef MODEST_HAVE_HILDON1_WIDGETS             
-       hildon_helper_set_thumb_scrollbar (win, thumbable);
-#endif /* MODEST_HAVE_HILDON1_WIDGETS */
-}
-
 GtkWidget *
 modest_maemo_utils_get_manager_menubar_as_menu (GtkUIManager *manager,
                                                const gchar *item_name)
index 776ce27..00667a5 100644 (file)
@@ -75,16 +75,6 @@ void modest_maemo_utils_setup_images_filechooser (GtkFileChooser *chooser);
 osso_context_t *modest_maemo_utils_get_osso_context (void);
 
 /**
- * modest_maemo_set_thumbable_scrollbar:
- * @win: a scrollable window
- * @thumbable: set it to thumbable (TRUE) or small (FALSE)
- *
- * changes the thumbability of scrollbars in a scrollable window
- */
-void modest_maemo_set_thumbable_scrollbar (GtkScrolledWindow *win, gboolean thumbable);
-
-
-/**
  * modest_maemo_get_osso_context:
  *
  * retrieve the osso context for this application