mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 22:58:16 +02:00
Warning fixes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2910 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
592f4cc94d
commit
a61ffae29a
2 changed files with 1 additions and 3 deletions
|
|
@ -102,7 +102,6 @@ save_vpn_password (const char *vpn_name,
|
||||||
const char *secret)
|
const char *secret)
|
||||||
{
|
{
|
||||||
char *display_name;
|
char *display_name;
|
||||||
guint32 item_id;
|
|
||||||
GnomeKeyringResult ret;
|
GnomeKeyringResult ret;
|
||||||
GnomeKeyringAttributeList *attrs = NULL;
|
GnomeKeyringAttributeList *attrs = NULL;
|
||||||
guint32 id = 0;
|
guint32 id = 0;
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ impl_fill_connection (NetworkManagerVpnUI *self, NMConnection *connection)
|
||||||
g_return_if_fail (NM_IS_CONNECTION (connection));
|
g_return_if_fail (NM_IS_CONNECTION (connection));
|
||||||
|
|
||||||
s_con = (NMSettingConnection *) nm_connection_get_setting (connection, NM_SETTING_CONNECTION);
|
s_con = (NMSettingConnection *) nm_connection_get_setting (connection, NM_SETTING_CONNECTION);
|
||||||
g_assert (s_vpn);
|
g_assert (s_con);
|
||||||
|
|
||||||
s_vpn = (NMSettingVPN *) nm_connection_get_setting (connection, NM_SETTING_VPN);
|
s_vpn = (NMSettingVPN *) nm_connection_get_setting (connection, NM_SETTING_VPN);
|
||||||
g_assert (s_vpn);
|
g_assert (s_vpn);
|
||||||
|
|
@ -698,7 +698,6 @@ import_button_clicked (GtkButton *button, gpointer user_data)
|
||||||
char *filename = NULL;
|
char *filename = NULL;
|
||||||
GtkWidget *dialog;
|
GtkWidget *dialog;
|
||||||
NetworkManagerVpnUI *self = (NetworkManagerVpnUI *) user_data;
|
NetworkManagerVpnUI *self = (NetworkManagerVpnUI *) user_data;
|
||||||
NetworkManagerVpnUIImpl *impl = (NetworkManagerVpnUIImpl *) self->data;
|
|
||||||
|
|
||||||
dialog = gtk_file_chooser_dialog_new (_("Select file to import"),
|
dialog = gtk_file_chooser_dialog_new (_("Select file to import"),
|
||||||
NULL,
|
NULL,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue