Add call to set iface.
authorPadraig O'Briain <padraigo@src.gnome.org>
Wed, 10 Oct 2001 14:59:28 +0000 (14:59 +0000)
committerPadraig O'Briain <padraigo@src.gnome.org>
Wed, 10 Oct 2001 14:59:28 +0000 (14:59 +0000)
* atk/atktext.c (atk_text_get_default_attributes):
Add call to set iface.

ChangeLog
atk/atktext.c

index 973a3f2..757d3c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
        * atk/atktext.c (atk_text_get_run_attributes):
        Correct typo.
 
+       * atk/atktext.c (atk_text_get_default_attributes):
+       Add call to set iface.
+
 2001-10-10  Padraig O'Briain  <padraig.obriain@sun.com>
 
        * atk/atktext.[c|h]:
index 4db5c48..f55a84f 100755 (executable)
@@ -443,6 +443,8 @@ atk_text_get_default_attributes (AtkText          *text)
 
   g_return_val_if_fail (ATK_IS_TEXT (text), NULL);
 
+  iface = ATK_TEXT_GET_IFACE (text);
+
   if (iface->get_default_attributes)
     return (*(iface->get_default_attributes)) (text);
   else