[gtk+] gail_misc_add_attribute no longer used outside gailmisc.c
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gail_misc_add_attribute no longer used outside gailmisc.c
- Date: Fri, 8 Jul 2011 20:33:04 +0000 (UTC)
commit fabc5a91175b41924ba5baadb61845c5b095dcf5
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 8 16:31:48 2011 -0400
gail_misc_add_attribute no longer used outside gailmisc.c
This reduces the number of unwanted exported gail symbols
from 90 to 89. Still some way to go...
gtk/a11y/gailmisc.c | 13 +------------
gtk/a11y/gailmisc.h | 3 ---
2 files changed, 1 insertions(+), 15 deletions(-)
---
diff --git a/gtk/a11y/gailmisc.c b/gtk/a11y/gailmisc.c
index 9ac2bef..c937ee0 100644
--- a/gtk/a11y/gailmisc.c
+++ b/gtk/a11y/gailmisc.c
@@ -155,18 +155,7 @@ gail_misc_get_index_at_point_in_layout (GtkWidget *widget,
return index;
}
-/**
- * gail_misc_add_attribute:
- * @attrib_set: The #AtkAttributeSet to add the attribute to
- * @attr: The AtkTextAttrribute which identifies the attribute to be added
- * @value: The attribute value
- *
- * Creates an #AtkAttribute from @attr and @value, and adds it
- * to @attrib_set.
- *
- * Returns: A pointer to the new #AtkAttributeSet.
- **/
-AtkAttributeSet*
+static AtkAttributeSet*
gail_misc_add_attribute (AtkAttributeSet *attrib_set,
AtkTextAttribute attr,
gchar *value)
diff --git a/gtk/a11y/gailmisc.h b/gtk/a11y/gailmisc.h
index 9483755..67c60af 100644
--- a/gtk/a11y/gailmisc.h
+++ b/gtk/a11y/gailmisc.h
@@ -26,9 +26,6 @@
G_BEGIN_DECLS
-AtkAttributeSet* gail_misc_add_attribute (AtkAttributeSet *attrib_set,
- AtkTextAttribute attr,
- gchar *value);
AtkAttributeSet* gail_misc_layout_get_run_attributes
(AtkAttributeSet *attrib_set,
PangoLayout *layout,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]