[Xfce4-commits] [apps/xfce4-screenshooter] 02/04: Remove unused function

noreply at xfce.org noreply at xfce.org
Sun Mar 17 18:08:34 CET 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screenshooter.

commit b2791fa2576fef699ac54bcb83c27d032f7a62b2
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Mar 17 14:00:24 2019 -0300

    Remove unused function
---
 lib/screenshooter-utils.c | 15 ---------------
 lib/screenshooter-utils.h |  1 -
 2 files changed, 16 deletions(-)

diff --git a/lib/screenshooter-utils.c b/lib/screenshooter-utils.c
index d1a39ed..3708641 100644
--- a/lib/screenshooter-utils.c
+++ b/lib/screenshooter-utils.c
@@ -258,21 +258,6 @@ gboolean screenshooter_is_remote_uri (const gchar *uri)
 
 
 
-gchar *rot13 (gchar *string)
-{
-  gchar *result = string;
-
-  for (; *string; string++)
-    if (*string >= 'a' && *string <= 'z')
-      *string = (*string - 'a' + 13) % 26 + 'a';
-    else if (*string >= 'A' && *string <= 'Z')
-      *string = (*string - 'A' + 13) % 26 + 'A';
-
-  return result;
-}
-
-
-
 /**
  * screenshooter_error:
  * @format: printf()-style format string
diff --git a/lib/screenshooter-utils.h b/lib/screenshooter-utils.h
index 6b67c9b..85205c3 100644
--- a/lib/screenshooter-utils.h
+++ b/lib/screenshooter-utils.h
@@ -47,7 +47,6 @@ void      screenshooter_open_screenshot       (const gchar    *screenshot_path,
 gchar    *screenshooter_get_home_uri          (void);
 gchar    *screenshooter_get_xdg_image_dir_uri (void);
 gboolean  screenshooter_is_remote_uri         (const gchar    *uri);
-gchar    *rot13                               (gchar          *string);
 void      screenshooter_error                 (const gchar    *format,
                                                ...);
 gchar    *screenshooter_get_datetime          (const gchar    *format);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list