Gio.DBusProxy.get_connection

### Method

# Gio DBusProxyget_connection

since: 2.26

#### Declaration [src]

    GDBusConnection*
    g_dbus_proxy_get_connection (
      GDBusProxy* proxy
    )

#### Description [src]

Gets the connection `proxy` is for.

Available since: 2.26

Gets property | `Gio.DBusProxy:g-connection`

#### Return value

Type: `GDBusConnection`

A `GDBusConnection` owned by `proxy`. Do not free.

The returned data is owned by the instance.