* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Authors: Lars Uebernickel <lars@uebernic.de>
*/
G_NOTIFICATION_BACKEND_GET_CLASS (backend)->withdraw_notification (backend, id);
}
-
-GApplication *
-g_notification_backend_get_application (GNotificationBackend *backend)
-{
- g_return_val_if_fail (G_IS_NOTIFICATION_BACKEND (backend), NULL);
-
- return backend->application;
-}
-
-void
-g_notification_backend_activate_action (GNotificationBackend *backend,
- const gchar *name,
- GVariant *parameter)
-{
- g_return_if_fail (G_IS_NOTIFICATION_BACKEND (backend));
-
- if (name)
- {
- if (g_str_has_prefix (name, "app."))
- g_action_group_activate_action (G_ACTION_GROUP (backend->application), name + 4, parameter);
- }
- else
- {
- g_application_activate (backend->application);
- }
-}
-
-GDBusConnection *
-g_notification_backend_get_dbus_connection (GNotificationBackend *backend)
-{
- g_return_val_if_fail (G_IS_NOTIFICATION_BACKEND (backend), NULL);
-
- return backend->dbus_connection;
-}