Skip to content

Commit

Permalink
network: Fix warning about missing cast to GtkWidget* (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
leigh123linux authored Jan 18, 2024
1 parent 826e7be commit 0361ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panels/network/connection-editor/net-connection-editor.c
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ net_connection_editor_new (GtkWindow *parent_window,
editor = g_object_new (NET_TYPE_CONNECTION_EDITOR, NULL);

if (parent_window) {
editor->parent_window = g_object_ref (parent_window);
editor->parent_window = GTK_WIDGET (g_object_ref (parent_window));
gtk_window_set_transient_for (GTK_WINDOW (editor->window),
parent_window);
}
Expand Down

0 comments on commit 0361ff2

Please sign in to comment.