[monkey-bubble: 349/753] Removed, use the PropertyBag.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 349/753] Removed, use the PropertyBag.
- Date: Wed, 14 Jul 2010 22:25:00 +0000 (UTC)
commit a942eefb7b219289d6313935ab11b33919a977b4
Author: Martin Baulig <baulig suse de>
Date: Fri Jun 1 13:19:00 2001 +0000
Removed, use the PropertyBag.
2001-06-01 Martin Baulig <baulig suse de>
* gnome-selector-client.c
(gnome_selector_client_get_entry_text, gnome_selector_client_set_entry_text):
Removed, use the PropertyBag.
libgnomeui/ChangeLog | 6 ++++++
libgnomeui/gnome-component-widget.c | 34 ----------------------------------
libgnomeui/gnome-component-widget.h | 8 --------
libgnomeui/gnome-entry.c | 6 ++++++
4 files changed, 12 insertions(+), 42 deletions(-)
---
diff --git a/libgnomeui/ChangeLog b/libgnomeui/ChangeLog
index 3804822..ec0b2e3 100644
--- a/libgnomeui/ChangeLog
+++ b/libgnomeui/ChangeLog
@@ -1,6 +1,12 @@
2001-06-01 Martin Baulig <baulig suse de>
* gnome-selector-client.c
+ (gnome_selector_client_get_entry_text, gnome_selector_client_set_entry_text):
+ Removed, use the PropertyBag.
+
+2001-06-01 Martin Baulig <baulig suse de>
+
+ * gnome-selector-client.c
(gnome_selector_client_check_uri): New function.
(gnome_selector_client_scan_directory): New function.
diff --git a/libgnomeui/gnome-component-widget.c b/libgnomeui/gnome-component-widget.c
index 04222ce..8a3ff3c 100644
--- a/libgnomeui/gnome-component-widget.c
+++ b/libgnomeui/gnome-component-widget.c
@@ -520,40 +520,6 @@ gnome_selector_client_create_async_data (GnomeSelectorClient *client, const gcha
return async_data;
}
-gchar *
-gnome_selector_client_get_entry_text (GnomeSelectorClient *client)
-{
- gchar *retval = NULL;
- CORBA_Environment ev;
-
- g_return_val_if_fail (client != NULL, NULL);
- g_return_val_if_fail (GNOME_IS_SELECTOR_CLIENT (client), NULL);
-
- g_assert (client->_priv->selector != CORBA_OBJECT_NIL);
-
- CORBA_exception_init (&ev);
- retval = GNOME_Selector__get_entryText (client->_priv->selector, &ev);
- CORBA_exception_free (&ev);
-
- return retval;
-}
-
-void
-gnome_selector_client_set_entry_text (GnomeSelectorClient *client,
- const gchar *text)
-{
- CORBA_Environment ev;
-
- g_return_if_fail (client != NULL);
- g_return_if_fail (GNOME_IS_SELECTOR_CLIENT (client));
-
- g_assert (client->_priv->selector != CORBA_OBJECT_NIL);
-
- CORBA_exception_init (&ev);
- GNOME_Selector__set_entryText (client->_priv->selector, text, &ev);
- CORBA_exception_free (&ev);
-}
-
void
gnome_selector_client_activate_entry (GnomeSelectorClient *client)
{
diff --git a/libgnomeui/gnome-component-widget.h b/libgnomeui/gnome-component-widget.h
index dcebea2..27bbc86 100644
--- a/libgnomeui/gnome-component-widget.h
+++ b/libgnomeui/gnome-component-widget.h
@@ -84,14 +84,6 @@ gnome_selector_client_construct_from_objref (GnomeSelectorClient *client,
GNOME_Selector corba_selector,
Bonobo_UIContainer uic);
-/* Get/set the text in the entry widget. */
-gchar *
-gnome_selector_client_get_entry_text (GnomeSelectorClient *client);
-
-void
-gnome_selector_client_set_entry_text (GnomeSelectorClient *client,
- const gchar *text);
-
/* If the entry widget is derived from GtkEditable, then we can use this
* function to send an "activate" signal to it. */
void
diff --git a/libgnomeui/gnome-entry.c b/libgnomeui/gnome-entry.c
index 5a5f770..10775c8 100644
--- a/libgnomeui/gnome-entry.c
+++ b/libgnomeui/gnome-entry.c
@@ -307,7 +307,11 @@ gnome_entry_get_text (GnomeEntry *gentry)
g_return_val_if_fail (gentry != NULL, NULL);
g_return_val_if_fail (GNOME_IS_ENTRY (gentry), NULL);
+#ifdef FIXME
return gnome_selector_client_get_entry_text (GNOME_SELECTOR_CLIENT (gentry));
+#else
+ return NULL;
+#endif
}
void
@@ -316,7 +320,9 @@ gnome_entry_set_text (GnomeEntry *gentry, const gchar *text)
g_return_if_fail (gentry != NULL);
g_return_if_fail (GNOME_IS_ENTRY (gentry));
+#ifdef FIXME
gnome_selector_client_set_entry_text (GNOME_SELECTOR_CLIENT (gentry),
text);
+#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]