spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit d5c6880c831bba6502d6e69465a49b0e7291b67e
parent 392a4875b151236e444643236ded47f9b948dcb1
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Tue, 19 Apr 2011 22:28:04 +0800

Tabify

Diffstat:
Msrc/spek-platform.c | 10+++++-----
Msrc/spek-platform.h | 2+-
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/spek-platform.c b/src/spek-platform.c @@ -69,11 +69,11 @@ void spek_platform_fix_args (gchar **argv, gint argc) { static void accel_map_foreach (gpointer data, const gchar *accel_path, guint accel_key, GdkModifierType accel_mods, gboolean changed) { - if (accel_mods & GDK_CONTROL_MASK) { - accel_mods &= ~GDK_CONTROL_MASK; - accel_mods |= GDK_META_MASK; - gtk_accel_map_change_entry (accel_path, accel_key, accel_mods, FALSE); - } + if (accel_mods & GDK_CONTROL_MASK) { + accel_mods &= ~GDK_CONTROL_MASK; + accel_mods |= GDK_META_MASK; + gtk_accel_map_change_entry (accel_path, accel_key, accel_mods, FALSE); + } } #endif diff --git a/src/spek-platform.h b/src/spek-platform.h @@ -27,7 +27,7 @@ void spek_platform_init (); /* Convert from UTF-16 to UTF-8 when running on Windows */ void spek_platform_fix_args (gchar **argv, gint argc); -/* OSX has its own approach to menu bars */ +/* OSX has its own approach to menus and accelerators */ void spek_platform_fix_ui (GtkUIManager *ui); /* Open a link in the browser */