mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 02:30:24 +01:00
examples: rename an example
This commit is contained in:
parent
e30287aa84
commit
4812fef794
3 changed files with 6 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -119,7 +119,7 @@ docs/api/NetworkManager.types
|
|||
|
||||
examples/C/add-connection-dbus-glib
|
||||
examples/C/add-connection-libnm-glib
|
||||
examples/C/get-active-connections
|
||||
examples/C/get-active-connections-dbus-glib
|
||||
examples/C/get-ap-info-libnm-glib
|
||||
examples/C/list-connections-dbus
|
||||
examples/C/list-connections-libnm-glib
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ AM_CPPFLAGS = \
|
|||
noinst_PROGRAMS = \
|
||||
add-connection-dbus-glib \
|
||||
add-connection-libnm-glib \
|
||||
get-active-connections \
|
||||
get-active-connections-dbus-glib \
|
||||
list-connections-dbus \
|
||||
list-connections-libnm-glib \
|
||||
get-ap-info-libnm-glib
|
||||
|
|
@ -27,8 +27,8 @@ add_connection_libnm_glib_LDADD = \
|
|||
$(DBUS_LIBS) \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
get_active_connections_SOURCES = get-active-connections.c
|
||||
get_active_connections_LDADD = \
|
||||
get_active_connections_dbus_glib_SOURCES = get-active-connections-dbus-glib.c
|
||||
get_active_connections_dbus_glib_LDADD = \
|
||||
$(top_builddir)/libnm-util/libnm-util.la \
|
||||
$(DBUS_LIBS) \
|
||||
$(GLIB_LIBS)
|
||||
|
|
@ -56,7 +56,7 @@ get_ap_info_libnm_glib_LDADD = \
|
|||
EXTRA_DIST = \
|
||||
add-connection-dbus-glib.c \
|
||||
add-connection-libnm-glib.c \
|
||||
get-active-connections.c \
|
||||
get-active-connections-dbus-glib.c \
|
||||
list-connections-dbus.c \
|
||||
list-connections-libnm-glib.c \
|
||||
get-ap-info-libnm-glib.c
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
* dbus-glib and libnm-util libraries.
|
||||
*
|
||||
* Compile with:
|
||||
* gcc -Wall `pkg-config --libs --cflags glib-2.0 dbus-glib-1 libnm-util` get-active-connections.c -o get-active-connections
|
||||
* gcc -Wall `pkg-config --libs --cflags glib-2.0 dbus-glib-1 libnm-util` get-active-connections-dbus-glib.c -o get-active-connections-dbus-glib
|
||||
*/
|
||||
|
||||
#include <glib.h>
|
||||
Loading…
Add table
Reference in a new issue