[polari] Replace Gtk.ListStore.insert_with_valuesv()
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] Replace Gtk.ListStore.insert_with_valuesv()
- Date: Fri, 3 Sep 2021 11:17:32 +0000 (UTC)
commit 999279dc4026fd98f874ec0516bd6897728c3866
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Aug 13 23:09:05 2021 +0200
Replace Gtk.ListStore.insert_with_valuesv()
GTK4 added an annotation to rename it to the (unintrospectable)
insert_with_values().
Part-of: <https://gitlab.gnome.org/GNOME/polari/-/merge_requests/228>
src/connections.js | 2 +-
src/serverRoomManager.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/connections.js b/src/connections.js
index d803630d..c64ab19d 100644
--- a/src/connections.js
+++ b/src/connections.js
@@ -315,7 +315,7 @@ export const ConnectionDetails = GObject.registerClass({
let realnameStore = new Gtk.ListStore();
realnameStore.set_column_types([GObject.TYPE_STRING]);
- realnameStore.insert_with_valuesv(-1, [0], [GLib.get_real_name()]);
+ realnameStore.insert_with_values(-1, [0], [GLib.get_real_name()]);
let completion = new Gtk.EntryCompletion({
model: realnameStore,
diff --git a/src/serverRoomManager.js b/src/serverRoomManager.js
index 005d322e..35587701 100644
--- a/src/serverRoomManager.js
+++ b/src/serverRoomManager.js
@@ -338,7 +338,7 @@ export const ServerRoomList = GObject.registerClass({
let count = `${roomInfo.get_members_count(null)}`;
let { CHECKED, NAME, COUNT, SENSITIVE } = RoomListColumn;
- let iter = store.insert_with_valuesv(-1,
+ let iter = store.insert_with_values(-1,
[CHECKED, NAME, COUNT, SENSITIVE],
[checked, name, count, sensitive]);
store.move_before(iter, this._customRoomItem);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]