X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=hildon-widgets%2Fhildon-note.h;h=359eb23900e9d804ce13d8cf030885440703aba4;hb=2ac7d8e375a1f600e2087e01dd51f239b91b6a07;hp=7c3656475dc27695105adffe96831d1f383b6367;hpb=012407abbbf8ca1283da080022128771ff95b0a3;p=hildon diff --git a/hildon-widgets/hildon-note.h b/hildon-widgets/hildon-note.h index 7c36564..359eb23 100644 --- a/hildon-widgets/hildon-note.h +++ b/hildon-widgets/hildon-note.h @@ -1,14 +1,14 @@ /* * This file is part of hildon-libs * - * Copyright (C) 2005 Nokia Corporation. + * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved. * - * Contact: Luc Pionchon + * Contact: Michael Dominic Kostrzewa * * 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 @@ -26,7 +26,6 @@ #include #include -#include G_BEGIN_DECLS #define HILDON_TYPE_NOTE ( hildon_note_get_type() ) @@ -37,10 +36,11 @@ G_BEGIN_DECLS #define HILDON_IS_NOTE(obj) (GTK_CHECK_TYPE (obj, HILDON_TYPE_NOTE)) #define HILDON_IS_NOTE_CLASS(klass) \ (GTK_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_NOTE)) -typedef struct _HildonNote HildonNote; + +typedef struct _HildonNote HildonNote; typedef struct _HildonNoteClass HildonNoteClass; -typedef enum +typedef enum /*< skip >*/ { HILDON_NOTE_CONFIRMATION_TYPE = 0, HILDON_NOTE_CONFIRMATION_BUTTON_TYPE, @@ -63,12 +63,13 @@ GtkWidget *hildon_note_new_confirmation(GtkWindow * parent, GtkWidget *hildon_note_new_confirmation_add_buttons(GtkWindow * parent, const gchar * description, ...); - +#ifndef HILDON_DISABLE_DEPRECATED GtkWidget *hildon_note_new_confirmation_with_icon_stock(GtkWindow * parent, const gchar * description, const gchar * stock_id); +#endif /* HILDON_DISABLE_DEPRECATED */ GtkWidget *hildon_note_new_confirmation_with_icon_name(GtkWindow * parent, const gchar * @@ -91,7 +92,7 @@ GtkWidget *hildon_note_new_information_with_icon_name(GtkWindow * parent, description, const gchar * icon_name); - +#ifndef HILDON_DISABLE_DEPRECATED GtkWidget *hildon_note_new_information_with_icon_stock(GtkWindow * parent, const gchar * description, @@ -103,6 +104,7 @@ GtkWidget *hildon_note_new_information_with_icon_theme(GtkWindow * parent, description, const gchar * icon); +#endif /* HILDON_DISABLE_DEPRECATED */ void hildon_note_set_button_text(HildonNote * note, const gchar * text);