~khurshid-alam/unity-control-center/libnm-port-test

« back to all changes in this revision

Viewing changes to panels/network/wireless-security/nm-default.h

  • Committer: Khurshid Alam
  • Date: 2018-06-05 14:47:56 UTC
  • Revision ID: khurshid.alam@linuxmail.org-20180605144756-or0tftb2kddhvhq2
Update connection editor pages and wireless security from Gnome-3.26

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef __NM_DEFAULT_H__
23
23
#define __NM_DEFAULT_H__
24
24
 
 
25
#define LIBNM_GLIB_BUILD
 
26
#define NETWORKMANAGER_COMPILATION
 
27
 
25
28
/*****************************************************************************/
26
29
 
27
30
/* always include these headers for our internal source files. */
35
38
 
36
39
#include <gtk/gtk.h>
37
40
 
 
41
#include <libnm/nm-connection.h>
 
42
#include <libnm/nm-setting-wireless-security.h>
 
43
#include <libnm/nm-setting-8021x.h>
 
44
 
 
45
static inline gboolean
 
46
nm_clear_g_source (guint *id)
 
47
{
 
48
        if (id && *id) {
 
49
                g_source_remove (*id);
 
50
                *id = 0;
 
51
                return TRUE;
 
52
        }
 
53
        return FALSE;
 
54
}
 
55
 
38
56
/*****************************************************************************/
39
57
 
40
58
#include <glib/gi18n.h>
41
 
#include <NetworkManager.h>
42
59
 
43
60
/*****************************************************************************/
44
61