X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgnotificationbackend.c;h=c1e009d483c74a084ea0fab3ba9a7082582428e4;hb=2e5bd8cf47f9e1559ccc44823a2f321b8ff8c1ea;hp=d5ced9c083e42f4cab64ed7141d812adacb9f779;hpb=639bd3626b683a0be273462d47e6bc30351a77d1;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gnotificationbackend.c b/gio/gnotificationbackend.c index d5ced9c..c1e009d 100644 --- a/gio/gnotificationbackend.c +++ b/gio/gnotificationbackend.c @@ -12,9 +12,7 @@ * 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 . * * Authors: Lars Uebernickel */ @@ -82,31 +80,3 @@ g_notification_backend_withdraw_notification (GNotificationBackend *backend, 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)); - g_return_if_fail (name != NULL); - - if (g_str_has_prefix (name, "app.")) - g_action_group_activate_action (G_ACTION_GROUP (backend->application), name + 4, parameter); -} - -GDBusConnection * -g_notification_backend_get_dbus_connection (GNotificationBackend *backend) -{ - g_return_val_if_fail (G_IS_NOTIFICATION_BACKEND (backend), NULL); - - return backend->dbus_connection; -}