[vte] vteapp: Fix a couple typos
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] vteapp: Fix a couple typos
- Date: Mon, 14 Apr 2014 17:20:43 +0000 (UTC)
commit 89a25dc5272a2da8af81bdf1f8f79980e29f2f94
Author: Christian Persch <chpe gnome org>
Date: Mon Apr 14 19:19:22 2014 +0200
vteapp: Fix a couple typos
src/app.vala | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index e18c03b..7542cb1 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -42,9 +42,9 @@ class Window : Gtk.ApplicationWindow
{
Object(application: app);
- add_action_entries (action_entries, this);
+ add_action_entries (action_entries, this);
- /* set_resize_mode(Gtk.ResizeMode.IMMEDIATE); */
+ /* set_resize_mode(Gtk.ResizeMode.IMMEDIATE); */
clipboard = get_clipboard(Gdk.SELECTION_CLIPBOARD);
clipboard.owner_change.connect(clipboard_owner_change_cb);
@@ -517,7 +517,7 @@ class App : Gtk.Application
public App()
{
- Object(application_id: "org.gnome.Vte.TestApp",
+ Object(application_id: "org.gnome.Vte.Test.App",
flags: ApplicationFlags.NON_UNIQUE);
}
@@ -593,7 +593,7 @@ class App : Gtk.Application
if (flags == null)
return value;
- for (int i = 0; flags[i] != null; i++) {
+ for (int i = 0; i < flags.length; i++) {
unowned FlagsValue? flags_value = flags_klass.get_value_by_nick(flags[i]);
if (flags_value != null)
value |= flags_value.value;
@@ -690,7 +690,7 @@ class App : Gtk.Application
public static Vte.PtyFlags get_pty_flags()
{
Vte.PtyFlags flags;
- if (cursor_shape_string != null)
+ if (pty_flags_string != null)
flags = (Vte.PtyFlags)parse_flags(typeof(Vte.CursorShape),
pty_flags_string);
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]