projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d6c65c1
)
Build with scrolled window if target is gtk
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 29 Oct 2009 18:41:28 +0000
(19:41 +0100)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 29 Oct 2009 18:48:11 +0000
(19:48 +0100)
src/widgets/modest-toolkit-factory.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-toolkit-factory.c
b/src/widgets/modest-toolkit-factory.c
index
a2451da
..
40caf60
100644
(file)
--- a/
src/widgets/modest-toolkit-factory.c
+++ b/
src/widgets/modest-toolkit-factory.c
@@
-28,7
+28,11
@@
*/
#include <glib/gi18n.h>
*/
#include <glib/gi18n.h>
+#ifdef MODEST_TOOLKIT_HILDON2
#include <modest-hildon-pannable-area-scrollable.h>
#include <modest-hildon-pannable-area-scrollable.h>
+#else
+#include <modest-scrolled-window-scrollable.h>
+#endif
#include "modest-toolkit-factory.h"
static void modest_toolkit_factory_class_init (ModestToolkitFactoryClass *klass);
#include "modest-toolkit-factory.h"
static void modest_toolkit_factory_class_init (ModestToolkitFactoryClass *klass);
@@
-73,5
+77,9
@@
modest_toolkit_factory_create_scrollable (ModestToolkitFactory *self)
static GtkWidget *
modest_toolkit_factory_create_scrollable_default (ModestToolkitFactory *self)
{
static GtkWidget *
modest_toolkit_factory_create_scrollable_default (ModestToolkitFactory *self)
{
+#ifdef MODEST_TOOLKIT_HILDON2
return modest_hildon_pannable_area_scrollable_new ();
return modest_hildon_pannable_area_scrollable_new ();
+#else
+ return modest_scrolled_window_scrollable_new ();
+#endif
}
}