summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-03-11 19:10:09 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-03-11 19:10:09 +0000
commit796d15ef8b1c8578a70ad3df3e163b18d592c2db (patch)
treea1e9a21065ad810a657eec24529d4f1df65a46fb /gtk/gtklabel.c
parentb5ddc23be3da6b3fc8a931236f71a6c775744559 (diff)
downloadgtk+-796d15ef8b1c8578a70ad3df3e163b18d592c2db.tar.gz
Fix a missing return value.
Thu Mar 11 14:07:18 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtklabel.c (gtk_label_focus): Fix a missing return value.
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r--gtk/gtklabel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index ab5364a195..a2fc9b059b 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -2820,7 +2820,6 @@ gtk_label_focus (GtkWidget *widget,
GtkDirectionType direction)
{
GtkLabel *label = GTK_LABEL (widget);
- GdkEvent *event;
GdkModifierType state;
/* We want to be in the tab chain only if we are selectable
@@ -2834,6 +2833,8 @@ gtk_label_focus (GtkWidget *widget,
if (state & GDK_CONTROL_MASK)
return GTK_WIDGET_CLASS (parent_class)->focus (widget, direction);
+ else
+ return FALSE;
}
/* Compute the X position for an offset that corresponds to the "more important