~vcs-imports/network-manager/trunk

« back to all changes in this revision

Viewing changes to src/nm-session-monitor-null.c

  • Committer: Dan Williams
  • Author(s): Benjamin Franzke
  • Date: 2012-02-09 16:48:20 UTC
  • Revision ID: git-v1:c24c4d489f6d512a688c61ff6e11179597bab0d9
core: fix undefined reference to assert in session-monitor-{systemd, null}

assert.h is not included, that results in an undefined
reference to assert, just use g_assert instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
                return g_object_ref (singleton);
86
86
 
87
87
        singleton = NM_SESSION_MONITOR (g_object_new (NM_TYPE_SESSION_MONITOR, NULL));
88
 
        assert (singleton);
 
88
        g_assert (singleton);
89
89
        return singleton;
90
90
}
91
91