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.
This commit is contained in:
Owen Taylor 2004-03-11 19:10:09 +00:00 committed by Owen Taylor
parent b5ddc23be3
commit 796d15ef8b
6 changed files with 27 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Mar 11 14:07:18 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_focus): Fix a missing return
value.
Thu Mar 11 13:58:24 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the

View File

@ -1,3 +1,8 @@
Thu Mar 11 14:07:18 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_focus): Fix a missing return
value.
Thu Mar 11 13:58:24 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the

View File

@ -1,3 +1,8 @@
Thu Mar 11 14:07:18 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_focus): Fix a missing return
value.
Thu Mar 11 13:58:24 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the

View File

@ -1,3 +1,8 @@
Thu Mar 11 14:07:18 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_focus): Fix a missing return
value.
Thu Mar 11 13:58:24 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the

View File

@ -1,3 +1,8 @@
Thu Mar 11 14:07:18 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_focus): Fix a missing return
value.
Thu Mar 11 13:58:24 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the

View File

@ -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