/*
* This file is part of hildon-libs
*
- * Copyright (C) 2005 Nokia Corporation.
+ * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
*
- * Contact: Luc Pionchon <luc.pionchon@nokia.com>
+ * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
+ * as published by the Free Software Foundation; version 2.1 of
+ * the License.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
#define __HILDON_DEFINES_H__
#include <gtk/gtkwindow.h>
+#include <gdk/gdkkeysyms.h>
#include "hildon-appview.h"
G_BEGIN_DECLS
GtkIconSize image_size_indi_nokia_hands;
};
-extern HildonIconSizes *hildoniconsizes;
+extern const HildonIconSizes *hildoniconsizes;
#define HILDON_ICON_SIZE_CHECK_AND_GET(iconvar) (!hildoniconsizes ? hildon_icon_sizes_init (), hildoniconsizes->iconvar : hildoniconsizes->iconvar)
#define HILDON_MARGIN_TRIPLE 18
#define HILDON_HARDKEY_UP GDK_Up
-#define HILDON_HARDKEY_LEFT GKD_Left
+#define HILDON_HARDKEY_LEFT GDK_Left
#define HILDON_HARDKEY_RIGHT GDK_Right
#define HILDON_HARDKEY_DOWN GDK_Down
#define HILDON_HARDKEY_SELECT GDK_Return
#define HILDON_HARDKEY_INCREASE GDK_F7
#define HILDON_HARDKEY_DECREASE GDK_F8
-gulong hildon_gtk_widget_set_logical_font (GtkWidget *widget, gchar *logicalfontname);
+gulong hildon_gtk_widget_set_logical_font (GtkWidget *widget, const gchar *logicalfontname);
gulong hildon_gtk_widget_set_logical_color (GtkWidget *widget, GtkRcFlags rcflags,
- GtkStateType state, gchar *logicalcolorname);
+ GtkStateType state, const gchar *logicalcolorname);
G_END_DECLS
#endif /* HILDON_DEFINES_H */