diff options
author | lukefromdc <[email protected]> | 2016-10-23 18:39:57 -0400 |
---|---|---|
committer | lukefromdc <[email protected]> | 2016-10-23 18:39:57 -0400 |
commit | 30b7ce2e63080fca1db9bdf2dd82955ce7ad2cc7 (patch) | |
tree | 742ba07c746dc3ecf9a658f331c6036e96f0d1fd /src/caja-places-sidebar.c | |
parent | edb2cc870fa87cf1c57a61c0af5c578461b20a20 (diff) | |
download | caja-30b7ce2e63080fca1db9bdf2dd82955ce7ad2cc7.tar.bz2 caja-30b7ce2e63080fca1db9bdf2dd82955ce7ad2cc7.tar.xz |
Refactor notification code to remove duplicate function
The desktop icon eject code required a function in libcaja-private so we no longer need it in caja-application.c
Diffstat (limited to 'src/caja-places-sidebar.c')
-rw-r--r-- | src/caja-places-sidebar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c index ae0434e2..9b67e64d 100644 --- a/src/caja-places-sidebar.c +++ b/src/caja-places-sidebar.c @@ -2249,7 +2249,7 @@ drive_eject_cb (GObject *source_object, #if ENABLE_LIBUNIQUE == (FALSE) else { CajaApplication *app = CAJA_APPLICATION (g_application_get_default ()); - caja_application_notify_unmount_show (app, "It is now safe to remove the drive"); + caja_application_notify_unmount_show ("It is now safe to remove the drive"); } #endif } @@ -2286,7 +2286,7 @@ volume_eject_cb (GObject *source_object, #if ENABLE_LIBUNIQUE == (FALSE) else { CajaApplication *app = CAJA_APPLICATION (g_application_get_default ()); - caja_application_notify_unmount_show (app, "It is now safe to remove the drive"); + caja_application_notify_unmount_show ("It is now safe to remove the drive"); } #endif } @@ -2323,7 +2323,7 @@ mount_eject_cb (GObject *source_object, #if ENABLE_LIBUNIQUE == (FALSE) else { CajaApplication *app = CAJA_APPLICATION (g_application_get_default ()); - caja_application_notify_unmount_show (app, "It is now safe to remove the drive"); + caja_application_notify_unmount_show ("It is now safe to remove the drive"); } #endif } @@ -2359,7 +2359,7 @@ do_eject (GMount *mount, } #if ENABLE_LIBUNIQUE == (FALSE) CajaApplication *app = CAJA_APPLICATION (g_application_get_default ()); - caja_application_notify_unmount_show (app, "writing data to the drive-do not unplug"); + caja_application_notify_unmount_show ("writing data to the drive-do not unplug"); #endif g_object_unref (mount_op); } |