aboutsummaryrefslogtreecommitdiff
path: root/shell/shell.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2020-05-15 15:22:39 -0700
committerLeandro Pereira <leandro@hardinfo.org>2020-05-15 15:22:39 -0700
commitb347f952e255c70e71e987f86bc7c11636072f81 (patch)
tree4ab385a33fb575cf142fa51f39ab5aa471a733e8 /shell/shell.c
parent1ee2dd032235519b140f439d3ba104cbdb525e2c (diff)
Fix compile warnings in SyncManager/Shell
Diffstat (limited to 'shell/shell.c')
-rw-r--r--shell/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 338e68f3..c1113dab 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -739,7 +739,7 @@ gboolean hardinfo_link(const gchar *uri) {
void shell_set_transient_dialog(GtkWindow *dialog)
{
- shell->transient_dialog = dialog ? dialog : shell->window;
+ shell->transient_dialog = dialog ? dialog : GTK_WINDOW(shell->window);
}
void shell_init(GSList * modules)
@@ -766,7 +766,7 @@ void shell_init(GSList * modules)
shell->info_tree = info_tree_new();
shell->loadgraph = load_graph_new(75);
shell->detail_view = detail_view_new();
- shell->transient_dialog = shell->window;
+ shell->transient_dialog = GTK_WINDOW(shell->window);
update_tbl = g_hash_table_new_full(g_str_hash, g_str_equal,
g_free, destroy_update_tbl_value);