[Xfce4-commits] <midori:master> Remove unused function katze_preferences_add_option
Christian Dywan
noreply at xfce.org
Fri Nov 13 23:54:02 CET 2009
Updating branch refs/heads/master
to e686b8655bf2bcf3aec61028050d96a6b66041cd (commit)
from ae3e7a804b87d8c8f2b01621726c2de2aecab6a1 (commit)
commit e686b8655bf2bcf3aec61028050d96a6b66041cd
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Nov 13 23:20:38 2009 +0100
Remove unused function katze_preferences_add_option
katze/katze-preferences.c | 38 --------------------------------------
katze/katze-preferences.h | 8 --------
2 files changed, 0 insertions(+), 46 deletions(-)
diff --git a/katze/katze-preferences.c b/katze/katze-preferences.c
index 671eee8..8dd899b 100644
--- a/katze/katze-preferences.c
+++ b/katze/katze-preferences.c
@@ -392,41 +392,3 @@ katze_preferences_add_widget (KatzePreferences* preferences,
gtk_widget_hide (widget);
#endif
}
-
-/**
- * katze_preferences_add_option:
- * @preferences: a #KatzePreferences instance
- * @object: the object to proxy
- * @property: the property to proxy
- * @label: a label, or %NULL
- * @widget: a widget representing an option
- * @type: "filled", "indented", or "spanned"
- *
- * Adds an option to the dialog, with a label.
- *
- * If @label is %NULL, it will be filled in from the property.
- *
- * Since: 0.2.1
- **/
-void
-katze_preferences_add_option (KatzePreferences* preferences,
- gpointer object,
- const gchar* property,
- const gchar* label,
- GtkWidget* widget,
- const gchar* type)
-{
- g_return_if_fail (KATZE_IS_PREFERENCES (preferences));
- g_return_if_fail (G_IS_OBJECT (object));
- g_return_if_fail (property != NULL);
- g_return_if_fail (GTK_IS_WIDGET (widget));
- g_return_if_fail (type != NULL);
-
- if (label)
- katze_preferences_add_widget (preferences,
- gtk_label_new_with_mnemonic (label), "indented");
- else
- katze_preferences_add_widget (preferences,
- katze_property_label (object, property), "indented");
- katze_preferences_add_widget (preferences, widget, type);
-}
diff --git a/katze/katze-preferences.h b/katze/katze-preferences.h
index 39e46d4..63bd484 100644
--- a/katze/katze-preferences.h
+++ b/katze/katze-preferences.h
@@ -65,14 +65,6 @@ katze_preferences_add_widget (KatzePreferences* preferences,
GtkWidget* widget,
const gchar* type);
-void
-katze_preferences_add_option (KatzePreferences* preferences,
- gpointer object,
- const gchar* property,
- const gchar* label,
- GtkWidget* widget,
- const gchar* type);
-
G_END_DECLS
#endif /* __KATZE_PREFERENCES_H__ */
More information about the Xfce4-commits
mailing list