From 2dea0f12d724484854dd1bf75c0bad05fa151ab2 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Tue, 3 Nov 2009 17:09:29 +0100 Subject: [PATCH] Remove Hildon1 conditional code from hildon2. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Based on an original patch by Javier Jardón. https://bugs.maemo.org/show_bug.cgi?id=5249 --- src/hildon2/modest-maemo-utils.c | 10 ---------- src/hildon2/modest-maemo-utils.h | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/src/hildon2/modest-maemo-utils.c b/src/hildon2/modest-maemo-utils.c index 2479395..40269d6 100644 --- a/src/hildon2/modest-maemo-utils.c +++ b/src/hildon2/modest-maemo-utils.c @@ -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) diff --git a/src/hildon2/modest-maemo-utils.h b/src/hildon2/modest-maemo-utils.h index 776ce27..00667a5 100644 --- a/src/hildon2/modest-maemo-utils.h +++ b/src/hildon2/modest-maemo-utils.h @@ -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 -- 1.7.9.5