[gitg: 2/7] Remove unneeded [Notify] attribute
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg: 2/7] Remove unneeded [Notify] attribute
- Date: Thu, 30 Jul 2015 22:59:22 +0000 (UTC)
commit 228c7f71a9b0db16a5372c26503fc716384757b0
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Fri Jul 31 00:54:06 2015 +0200
Remove unneeded [Notify] attribute
gitg/commit/gitg-commit-dialog.vala | 11 -----------
gitg/commit/gitg-commit.vala | 1 -
gitg/gitg-dash-view.vala | 1 -
gitg/gitg-ui-elements.vala | 1 -
gitg/history/gitg-history-paned.vala | 2 --
gitg/history/gitg-history-refs-list.vala | 1 -
gitg/history/gitg-history.vala | 2 --
libgitg-ext/gitg-ext-selectable.vala | 1 -
libgitg/gitg-commit-model.vala | 1 -
libgitg/gitg-diff-view.vala | 1 -
libgitg/gitg-repository-list-box.vala | 2 --
11 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/gitg/commit/gitg-commit-dialog.vala b/gitg/commit/gitg-commit-dialog.vala
index 5d3a914..ea19602 100644
--- a/gitg/commit/gitg-commit-dialog.vala
+++ b/gitg/commit/gitg-commit-dialog.vala
@@ -137,13 +137,9 @@ class Dialog : Gtk.Dialog
}
}
- [Notify]
public bool amend { get; set; }
-
- [Notify]
public bool sign_off { get; set; }
- [Notify]
public bool show_markup
{
get { return d_show_markup; }
@@ -157,7 +153,6 @@ class Dialog : Gtk.Dialog
default = true;
}
- [Notify]
public bool show_right_margin
{
get { return d_show_right_margin; }
@@ -171,7 +166,6 @@ class Dialog : Gtk.Dialog
default = true;
}
- [Notify]
public bool show_subject_margin
{
get { return d_show_subject_margin; }
@@ -185,7 +179,6 @@ class Dialog : Gtk.Dialog
default = true;
}
- [Notify]
public int right_margin_position
{
get { return d_right_margin_position; }
@@ -199,7 +192,6 @@ class Dialog : Gtk.Dialog
default = 72;
}
- [Notify]
public int subject_margin_position
{
get { return d_subject_margin_position; }
@@ -213,7 +205,6 @@ class Dialog : Gtk.Dialog
default = 50;
}
- [Notify]
public Ggit.Signature author
{
owned get { return d_author; }
@@ -225,7 +216,6 @@ class Dialog : Gtk.Dialog
}
}
- [Notify]
public string? spell_checking_language
{
get { return d_spell_checking_language; }
@@ -237,7 +227,6 @@ class Dialog : Gtk.Dialog
}
}
- [Notify]
public bool enable_spell_checking
{
get { return d_enable_spell_checking; }
diff --git a/gitg/commit/gitg-commit.vala b/gitg/commit/gitg-commit.vala
index 3cf5d2b..a315c80 100644
--- a/gitg/commit/gitg-commit.vala
+++ b/gitg/commit/gitg-commit.vala
@@ -52,7 +52,6 @@ namespace GitgCommit
owned get { return "/org/gnome/gitg/Activities/Commit"; }
}
- [Notify]
public Gitg.Repository repository
{
set
diff --git a/gitg/gitg-dash-view.vala b/gitg/gitg-dash-view.vala
index 7889ad4..da05642 100644
--- a/gitg/gitg-dash-view.vala
+++ b/gitg/gitg-dash-view.vala
@@ -29,7 +29,6 @@ class DashView : RepositoryListBox, GitgExt.UIElement, GitgExt.Activity, GitgExt
private bool d_search_enabled;
private bool d_setting_mode;
- [Notify]
public GitgExt.SelectionMode selectable_mode
{
get
diff --git a/gitg/gitg-ui-elements.vala b/gitg/gitg-ui-elements.vala
index ba1a72c..1db47df 100644
--- a/gitg/gitg-ui-elements.vala
+++ b/gitg/gitg-ui-elements.vala
@@ -29,7 +29,6 @@ public class UIElements<T> : Object
private Gtk.Stack d_stack;
private Gee.HashMap<string, int> d_builtin_elements;
- [Notify]
public T? current
{
get
diff --git a/gitg/history/gitg-history-paned.vala b/gitg/history/gitg-history-paned.vala
index b159ef0..e99b014 100644
--- a/gitg/history/gitg-history-paned.vala
+++ b/gitg/history/gitg-history-paned.vala
@@ -50,7 +50,6 @@ class Paned : Gitg.AnimatedPaned
[GtkChild]
private Gtk.ScrolledWindow d_scrolled_window_commit_list;
- [Notify]
public Gtk.Orientation inner_orientation
{
get { return d_paned_panels.orientation; }
@@ -123,7 +122,6 @@ class Paned : Gitg.AnimatedPaned
private GitgExt.SelectionMode d_selectable_mode;
- [Notify]
public GitgExt.SelectionMode selectable_mode
{
get { return d_selectable_mode; }
diff --git a/gitg/history/gitg-history-refs-list.vala b/gitg/history/gitg-history-refs-list.vala
index 36e2b21..b1d0db7 100644
--- a/gitg/history/gitg-history-refs-list.vala
+++ b/gitg/history/gitg-history-refs-list.vala
@@ -960,7 +960,6 @@ public class RefsList : Gtk.ListBox
}
}
- [Notify]
public Gee.List<Gitg.Ref> selection
{
owned get
diff --git a/gitg/history/gitg-history.vala b/gitg/history/gitg-history.vala
index 386cee0..49c0395 100644
--- a/gitg/history/gitg-history.vala
+++ b/gitg/history/gitg-history.vala
@@ -57,7 +57,6 @@ namespace GitgHistory
private Gitg.Repository d_repository;
- [Notify]
public Gitg.Repository repository
{
get
@@ -759,7 +758,6 @@ namespace GitgHistory
d_commit_list_model.reload();
}
- [Notify]
public GitgExt.SelectionMode selectable_mode
{
get; set;
diff --git a/libgitg-ext/gitg-ext-selectable.vala b/libgitg-ext/gitg-ext-selectable.vala
index 99c5f16..54ed159 100644
--- a/libgitg-ext/gitg-ext-selectable.vala
+++ b/libgitg-ext/gitg-ext-selectable.vala
@@ -34,7 +34,6 @@ public enum SelectionMode
*/
public interface Selectable : Object, Activity
{
- [Notify]
public abstract SelectionMode selectable_mode { get; set; }
public abstract Gtk.Widget? action_widget { owned get; }
diff --git a/libgitg/gitg-commit-model.vala b/libgitg/gitg-commit-model.vala
index 22f6ace..af1b97d 100644
--- a/libgitg/gitg-commit-model.vala
+++ b/libgitg/gitg-commit-model.vala
@@ -96,7 +96,6 @@ namespace Gitg
}
}
- [Notify]
public Repository repository
{
get { return d_repository; }
diff --git a/libgitg/gitg-diff-view.vala b/libgitg/gitg-diff-view.vala
index 80112ce..da05bb3 100644
--- a/libgitg/gitg-diff-view.vala
+++ b/libgitg/gitg-diff-view.vala
@@ -93,7 +93,6 @@ namespace Gitg
}
}
- [Notify]
public bool has_selection
{
get { return d_has_selection; }
diff --git a/libgitg/gitg-repository-list-box.vala b/libgitg/gitg-repository-list-box.vala
index ed6929f..d6148f6 100644
--- a/libgitg/gitg-repository-list-box.vala
+++ b/libgitg/gitg-repository-list-box.vala
@@ -86,7 +86,6 @@ namespace Gitg
}
}
- [Notify]
public new bool selected
{
get; set;
@@ -230,7 +229,6 @@ namespace Gitg
}
}
- [Notify]
public SelectionMode mode { get; set; }
protected override bool button_press_event(Gdk.EventButton event)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]