summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <micke@codefactory.se>2002-03-20 17:11:03 +0000
committerMikael Hallendal <hallski@src.gnome.org>2002-03-20 17:11:03 +0000
commit22edb1d07253cb8ca2764245d2e30a6d021ba8d8 (patch)
tree6aa4ea2a68fc28bf565ab84aa595ff3851e1cbe9
parent2e8a32ebdbfd216bfd1a0ebd3f50a4a6bd880214 (diff)
downloadyelp-22edb1d07253cb8ca2764245d2e30a6d021ba8d8.tar.gz
style-fixes.
2002-03-20 Mikael Hallendal <micke@codefactory.se> * src/yelp-view-index.c (set_relation): style-fixes.
-rw-r--r--ChangeLog4
-rw-r--r--src/yelp-view-index.c10
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ae95bbb9..2dc2f93a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-20 Mikael Hallendal <micke@codefactory.se>
+
+ * src/yelp-view-index.c (set_relation): style-fixes.
+
2002-03-20 Jagadeesh B. G <jagadeesh.bana@wipro.com>
* src/yelp-view-index.c: Set atk relation for search entry and
diff --git a/src/yelp-view-index.c b/src/yelp-view-index.c
index ab46812c..2e968b71 100644
--- a/src/yelp-view-index.c
+++ b/src/yelp-view-index.c
@@ -424,10 +424,10 @@ yelp_view_index_show_uri (YelpViewIndex *view, const gchar *uri)
static void
set_relation (GtkWidget *widget, GtkLabel *label)
{
- AtkObject *aobject;
+ AtkObject *aobject;
AtkRelationSet *relation_set;
- AtkRelation *relation;
- AtkObject *targets[1];
+ AtkRelation *relation;
+ AtkObject *targets[1];
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (GTK_IS_LABEL (label));
@@ -435,8 +435,10 @@ set_relation (GtkWidget *widget, GtkLabel *label)
aobject = gtk_widget_get_accessible (widget);
/* Return if GAIL is not loaded */
- if (! GTK_IS_ACCESSIBLE (aobject))
+ if (! GTK_IS_ACCESSIBLE (aobject)) {
return;
+ }
+
/* Set the ATK_RELATION_LABEL_FOR relation */
gtk_label_set_mnemonic_widget (label, widget);