projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fail more gracefully when selecting cells out of range
[pspp]
/
src
/
ui
/
gui
/
psppire-syntax-window.c
diff --git
a/src/ui/gui/psppire-syntax-window.c
b/src/ui/gui/psppire-syntax-window.c
index fddc005e5fdcd25d5c73cef231d40264dc1d224d..13101f9394da34ab08bad3eed75398951d87cc87 100644
(file)
--- a/
src/ui/gui/psppire-syntax-window.c
+++ b/
src/ui/gui/psppire-syntax-window.c
@@
-798,7
+798,7
@@
psppire_syntax_window_init (PsppireSyntaxWindow *window)
gtk_widget_show_all (box);
gtk_widget_show_all (box);
- G
Application *app = g_application_get_default (
);
+ G
tkApplication *app = GTK_APPLICATION (g_application_get_default ()
);
{
GSimpleAction *open = g_simple_action_new ("open", NULL);
{
GSimpleAction *open = g_simple_action_new ("open", NULL);
@@
-885,7
+885,7
@@
psppire_syntax_window_init (PsppireSyntaxWindow *window)
g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (run_current_line));
g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (run_current_line));
- G
Application *app = g_application_get_default (
);
+ G
tkApplication *app = GTK_APPLICATION (g_application_get_default ()
);
const gchar *accels[2] = { "<Ctrl>R", NULL};
gtk_application_set_accels_for_action (app,
"win.run-current-line",
const gchar *accels[2] = { "<Ctrl>R", NULL};
gtk_application_set_accels_for_action (app,
"win.run-current-line",