network: Fix missing GtkWidget cast
This commit is contained in:
parent
2007a5b240
commit
8f722a31de
2 changed files with 2 additions and 2 deletions
|
@ -979,5 +979,5 @@ net_device_mobile_init (NetDeviceMobile *self)
|
|||
|
||||
g_signal_connect_swapped (self->options_button, "clicked",
|
||||
G_CALLBACK (edit_connection), self);
|
||||
gtk_widget_set_visible (self->options_button, g_find_program_in_path ("nm-connection-editor") != NULL);
|
||||
gtk_widget_set_visible (GTK_WIDGET (self->options_button), g_find_program_in_path ("nm-connection-editor") != NULL);
|
||||
}
|
||||
|
|
|
@ -250,7 +250,7 @@ net_device_simple_init (NetDeviceSimple *self)
|
|||
|
||||
g_signal_connect_swapped (priv->options_button, "clicked",
|
||||
G_CALLBACK (edit_connection), self);
|
||||
gtk_widget_set_visible (priv->options_button, g_find_program_in_path ("nm-connection-editor") != NULL);
|
||||
gtk_widget_set_visible (GTK_WIDGET (priv->options_button), g_find_program_in_path ("nm-connection-editor") != NULL);
|
||||
}
|
||||
|
||||
char *
|
||||
|
|
Loading…
Add table
Reference in a new issue