g_signal_connect (priv->scrolled, "destroy",
G_CALLBACK (gtk_widget_destroyed), &priv->scrolled);
#else
- #if HAVE_GRANITE
+ #ifdef HAVE_GRANITE
/* FIXME: granite: should return GtkWidget* like GTK+ */
priv->notebook = (GtkWidget*)granite_widgets_static_notebook_new (FALSE);
#else
priv->sizegroup = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
gtk_widget_show (priv->page);
gtk_container_set_border_width (GTK_CONTAINER (priv->page), 4);
- #if HAVE_GRANITE
+ #ifdef HAVE_GRANITE
granite_widgets_static_notebook_append_page (
GRANITE_WIDGETS_STATIC_NOTEBOOK (priv->notebook),
priv->page, GTK_LABEL (gtk_label_new (label)));
if (!(view = midori_browser_get_current_tab (browser)))
return;
- #if HAVE_GRANITE
+ #ifdef HAVE_GRANITE
/* FIXME: Blacklist/ custom contract doesn't work
gchar* blacklisted_contracts[] = { "print", NULL }; */
/* FIXME: granite: should return GtkWidget* like GTK+ */
#endif
{ NULL },
#if !HAVE_HILDON
- #if !HAVE_GRANITE
+ #ifndef HAVE_GRANITE
{ "HelpFAQ" },
{ "HelpBugs"},
#endif
gtk_about_dialog_set_email_hook (_action_about_activate_email, NULL, NULL);
gtk_about_dialog_set_url_hook (_action_about_activate_link, browser, NULL);
#endif
-#if HAVE_GRANITE
+#ifdef HAVE_GRANITE
/* FIXME: granite: should return GtkWidget* like GTK+ */
dialog = (GtkWidget*)granite_widgets_about_dialog_new ();
{
{ "WindowClose", NULL,
N_("C_lose Window"), "<Ctrl><Shift>w",
NULL, G_CALLBACK (_action_window_close_activate) },
- #if HAVE_GRANITE
+ #ifdef HAVE_GRANITE
{ "Print", "document-export",
N_("_Share"), "<Ctrl>p",
NULL, G_CALLBACK (_action_print_activate) },