mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Fix variable declaration not at start of block. (#120371, Damien Carbery)
Tue Aug 26 09:57:38 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable declaration not at start of block. (#120371, Damien Carbery)
This commit is contained in:
parent
a3344d22b6
commit
d8c62d66c2
@ -1,3 +1,8 @@
|
||||
Tue Aug 26 09:57:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
|
||||
declaration not at start of block. (#120371, Damien Carbery)
|
||||
|
||||
2003-08-26 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Aug 26 09:57:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
|
||||
declaration not at start of block. (#120371, Damien Carbery)
|
||||
|
||||
2003-08-26 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Aug 26 09:57:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
|
||||
declaration not at start of block. (#120371, Damien Carbery)
|
||||
|
||||
2003-08-26 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Aug 26 09:57:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
|
||||
declaration not at start of block. (#120371, Damien Carbery)
|
||||
|
||||
2003-08-26 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Aug 26 09:57:38 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
|
||||
declaration not at start of block. (#120371, Damien Carbery)
|
||||
|
||||
2003-08-26 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize
|
||||
|
@ -297,6 +297,7 @@ update_keymaps (GdkKeymapX11 *keymap_x11)
|
||||
gint keycode = keymap_x11->mod_keymap->modifiermap[i];
|
||||
gint j;
|
||||
KeySym *syms;
|
||||
guint mask;
|
||||
|
||||
/* Ignore invalid keycodes. */
|
||||
if (keycode < keymap_x11->min_keycode ||
|
||||
@ -308,7 +309,7 @@ update_keymaps (GdkKeymapX11 *keymap_x11)
|
||||
/* The fourth modifier, GDK_MOD1_MASK is 1 << 3.
|
||||
* Each group of max_keypermod entries refers to the same modifier.
|
||||
*/
|
||||
guint mask = 1 << (i / keymap_x11->mod_keymap->max_keypermod);
|
||||
mask = 1 << (i / keymap_x11->mod_keymap->max_keypermod);
|
||||
|
||||
switch (mask)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user