Commit bf329f5e authored by Thomas Haller's avatar Thomas Haller

mobile: ignore deprecation warning of nm_setting_gsm_get_number()

This probably should be fixed by somebody giving love to
"page-mobile.c". For now, just ignore the deprecation warning.
parent 02a78b25
......@@ -74,7 +74,11 @@ populate_gsm_ui (CEPageMobile *self, NMConnection *connection)
NMSettingGsm *setting = NM_SETTING_GSM (priv->setting);
const char *s;
/* FIXME: no longer use gsm.number property. It's deprecated and has
* no effect for NetworkManager. */
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
s = nm_setting_gsm_get_number (setting);
G_GNUC_END_IGNORE_DEPRECATIONS
if (s)
gtk_entry_set_text (priv->number, s);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment