aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--hildon/hildon-entry.c2
-rw-r--r--hildon/hildon-entry.h2
-rw-r--r--hildon/hildon-text-view.c2
-rw-r--r--hildon/hildon-text-view.h2
5 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a5f158b..0f19080 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-05 Alberto Garcia <agarcia@igalia.com>
+
+ * hildon/hildon-text-view.[ch]
+ * hildon/hildon-entry.[ch]:
+ Add deprecation guards around deprecated functions.
+
2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
* hildon/hildon-app-menu.c: Remove leftover function declaration.
diff --git a/hildon/hildon-entry.c b/hildon/hildon-entry.c
index 398696f..370a049 100644
--- a/hildon/hildon-entry.c
+++ b/hildon/hildon-entry.c
@@ -43,6 +43,8 @@
* </example>
*/
+#undef HILDON_DISABLE_DEPRECATED
+
#include "hildon-entry.h"
G_DEFINE_TYPE (HildonEntry, hildon_entry, GTK_TYPE_ENTRY);
diff --git a/hildon/hildon-entry.h b/hildon/hildon-entry.h
index eb2ab71..561430a 100644
--- a/hildon/hildon-entry.h
+++ b/hildon/hildon-entry.h
@@ -68,6 +68,7 @@ hildon_entry_get_type (void) G_GNUC_CONST;
GtkWidget *
hildon_entry_new (HildonSizeType size);
+#ifndef HILDON_DISABLE_DEPRECATED
void
hildon_entry_set_text (HildonEntry *entry,
const gchar *text);
@@ -78,6 +79,7 @@ hildon_entry_get_text (HildonEntry *entry);
void
hildon_entry_set_placeholder (HildonEntry *entry,
const gchar *text);
+#endif
G_END_DECLS
diff --git a/hildon/hildon-text-view.c b/hildon/hildon-text-view.c
index 933fdcf..4308a64 100644
--- a/hildon/hildon-text-view.c
+++ b/hildon/hildon-text-view.c
@@ -46,6 +46,8 @@
* </example>
*/
+#undef HILDON_DISABLE_DEPRECATED
+
#include "hildon-text-view.h"
#include <math.h>
diff --git a/hildon/hildon-text-view.h b/hildon/hildon-text-view.h
index 87b78a6..7337eb5 100644
--- a/hildon/hildon-text-view.h
+++ b/hildon/hildon-text-view.h
@@ -63,6 +63,7 @@ hildon_text_view_get_type (void) G_GNUC_CONST;
GtkWidget *
hildon_text_view_new (void);
+#ifndef HILDON_DISABLE_DEPRECATED
void
hildon_text_view_set_buffer (HildonTextView *text_view,
GtkTextBuffer *buffer);
@@ -73,6 +74,7 @@ hildon_text_view_get_buffer (HildonTextView *text_view);
void
hildon_text_view_set_placeholder (HildonTextView *text_view,
const gchar *text);
+#endif
G_END_DECLS