Skip to content

Commit a382c29

Browse files
committed
rename prop to property, fix meson module src
1 parent 7b9a135 commit a382c29

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

build-aux/com.ranfdev.Geopard.Devel.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@
9090
],
9191
"sources" : [
9292
{
93-
"type" : "dir",
94-
"url" : "../"
93+
"type" : "git",
94+
"url" : "../",
95+
"branch": "master"
9596
}
9697
]
9798
}

src/tab.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ pub mod imp {
4343
pub(crate) left_click_ctrl: RefCell<Option<gtk::GestureClick>>,
4444
pub(crate) right_click_ctrl: RefCell<Option<gtk::GestureClick>>,
4545
pub(crate) req_handle: RefCell<Option<RemoteHandle<()>>>,
46-
#[prop(get = Self::history_status, builder(HistoryStatus::static_type()))]
46+
#[property(get = Self::history_status, builder(HistoryStatus::static_type()))]
4747
pub(crate) history_status: PhantomData<HistoryStatus>,
48-
#[prop(get, set)]
48+
#[property(get, set)]
4949
pub(crate) progress: RefCell<f64>,
50-
#[prop(get)]
50+
#[property(get)]
5151
pub(crate) title: RefCell<String>,
52-
#[prop(get)]
52+
#[property(get)]
5353
pub(crate) url: RefCell<String>,
5454
}
5555

src/window.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ pub mod imp {
4545
pub(crate) config: RefCell<config::Config>,
4646
pub(crate) progress_animation: RefCell<Option<adw::SpringAnimation>>,
4747
pub(crate) binded_tab_properties: RefCell<Vec<glib::Binding>>,
48-
#[prop(get, set)]
48+
#[property(get, set)]
4949
pub(crate) url: RefCell<String>,
50-
#[prop(get = Self::progress_animated, set = Self::set_progress_animated)]
50+
#[property(get = Self::progress_animated, set = Self::set_progress_animated)]
5151
pub(crate) progress: PhantomData<f64>,
5252
pub(crate) scroll_ctrl: gtk::EventControllerScroll,
5353
pub(crate) action_previous: RefCell<Option<gio::SimpleAction>>,

0 commit comments

Comments
 (0)