[Xfce4-commits] [apps/xfce4-screensaver] 343/425: Drop unused private.h

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:53:10 CEST 2018


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

b   l   u   e   s   a   b   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-screensaver.

commit 07b12d4a2f06f2a9ab17fd2059eaee975268157c
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Mon Oct 1 23:05:44 2018 -0400

    Drop unused private.h
---
 src/Makefile.am          |  1 -
 src/private.h            | 36 ------------------------------------
 src/xfce-desktop-utils.c | 15 ---------------
 3 files changed, 52 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 8e834f6..961ff5d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -286,7 +286,6 @@ xfce4_screensaver_SOURCES =	\
 	canonicalize.h \
 	entry-directories.c \
 	entry-directories.h \
-	private.h		\
 	$(BUILT_SOURCES)	\
 	$(NULL)
 
diff --git a/src/private.h b/src/private.h
deleted file mode 100644
index baa4ba7..0000000
--- a/src/private.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* private.h: various private functions
-
-   Copyright 2009, Novell, Inc.
-
-   This file is part of the Mate Library.
-
-   The Mate Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Library General Public License as
-   published by the Free Software Foundation; either version 2 of the
-   License, or (at your option) any later version.
-
-   The Mate Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Library General Public License for more details.
-
-   You should have received a copy of the GNU Library General Public
-   License along with the Mate Library; see the file COPYING.LIB.  If not,
-   write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-   Boston, MA 02110-1301, USA.
-
-   Author: Vincent Untz <vuntz at gnome.org>
-*/
-
-#ifndef __MATE_DESKTOP_PRIVATE_H__
-#define __MATE_DESKTOP_PRIVATE_H__
-
-#include <glib.h>
-
-G_BEGIN_DECLS
-
-void _mate_desktop_init_i18n (void);
-
-G_END_DECLS
-
-#endif
diff --git a/src/xfce-desktop-utils.c b/src/xfce-desktop-utils.c
index de9f952..099fa39 100644
--- a/src/xfce-desktop-utils.c
+++ b/src/xfce-desktop-utils.c
@@ -33,8 +33,6 @@
 
 #include <xfce-desktop-utils.h>
 
-#include "private.h"
-
 /**
  * xfce_gdk_spawn_command_line_on_screen:
  * @screen: a GdkScreen
@@ -74,16 +72,3 @@ xfce_gdk_spawn_command_line_on_screen (GdkScreen *screen, const gchar *command,
 
 	return res;
 }
-
-void
-_mate_desktop_init_i18n (void) {
-	static gboolean initialized = FALSE;
-
-	if (!initialized) {
-		bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
-#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
-		bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
-#endif
-		initialized = TRUE;
-	}
-}

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


More information about the Xfce4-commits mailing list