diff options
author | raveit65 <[email protected]> | 2017-08-14 19:46:54 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-15 11:46:49 +0200 |
commit | 930a86b399d43ab779d8b70e43e31e4ef453fb8e (patch) | |
tree | b43c012d46899439c9a8614b53137a9825d892a9 /libslab/libslab-utils.c | |
parent | 40a7bc2d5cc3c5a4d8a825d783ad2c35282cf500 (diff) | |
download | mate-control-center-930a86b399d43ab779d8b70e43e31e4ef453fb8e.tar.bz2 mate-control-center-930a86b399d43ab779d8b70e43e31e4ef453fb8e.tar.xz |
libslab: drop unneeded libslab_mate_desktop_item_open_help function
Diffstat (limited to 'libslab/libslab-utils.c')
-rw-r--r-- | libslab/libslab-utils.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/libslab/libslab-utils.c b/libslab/libslab-utils.c index 019e08d5..94056951 100644 --- a/libslab/libslab-utils.c +++ b/libslab/libslab-utils.c @@ -202,42 +202,6 @@ libslab_get_current_screen (void) return screen; } -gboolean -libslab_mate_desktop_item_open_help (MateDesktopItem *item) -{ - gchar *doc_path; - gchar *help_uri; - - GError *error = NULL; - - gboolean retval = FALSE; - - - if (! item) - return retval; - - doc_path = libslab_mate_desktop_item_get_docpath (item); - - if (doc_path) { - help_uri = g_strdup_printf ("help:%s", doc_path); - - if (!gtk_show_uri (libslab_get_current_screen (), help_uri, gtk_get_current_event_time (), &error)) { - g_warning ("error opening %s [%s]\n", help_uri, error->message); - - g_error_free (error); - - retval = FALSE; - } - else - retval = TRUE; - - g_free (help_uri); - g_free (doc_path); - } - - return retval; -} - guint32 libslab_get_current_time_millis () { |