[gnome-photos] application: Fix typo
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] application: Fix typo
- Date: Wed, 4 Nov 2015 14:04:13 +0000 (UTC)
commit 16ccdb8331c3339500f399e673a709da695b69b3
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Nov 4 13:56:29 2015 +0100
application: Fix typo
We need a three element array, not two. Otherwise, it could lead to bad
things. eg., I started getting:
Gtk-WARNING **: Unable to parse accelerator '\xc0\x95\xb2\u0001':
ignored request to install 12 accelerators
Fall out from 8453269e3d8dbfe3f9dc94a5e7ac04f89f0750db
src/photos-application.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 7101fa2..f909d27 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -957,7 +957,7 @@ photos_application_startup (GApplication *application)
GtkSettings *settings;
GVariant *state;
GVariantType *parameter_type;
- const gchar *delete_accels[2] = {"Delete", "KP_Delete", NULL};
+ const gchar *delete_accels[3] = {"Delete", "KP_Delete", NULL};
const gchar *fullscreen_accels[2] = {"F11", NULL};
const gchar *gear_menu_accels[2] = {"F10", NULL};
const gchar *print_current_accels[2] = {"<Primary>p", NULL};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]