Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
xfce4-screensaver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Apps
xfce4-screensaver
Commits
f7cf31f0
Commit
f7cf31f0
authored
Oct 02, 2018
by
Sean Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop unused xfcekbd-util.{c,h}
parent
18b0b8c8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
92 deletions
+0
-92
src/Makefile.am
src/Makefile.am
+0
-8
src/xfcekbd-keyboard-config.c
src/xfcekbd-keyboard-config.c
+0
-1
src/xfcekbd-util.c
src/xfcekbd-util.c
+0
-53
src/xfcekbd-util.h
src/xfcekbd-util.h
+0
-30
No files found.
src/Makefile.am
View file @
f7cf31f0
...
...
@@ -155,8 +155,6 @@ xfce4_screensaver_dialog_SOURCES = \
xfcekbd-desktop-config.h
\
xfcekbd-keyboard-config.c
\
xfcekbd-keyboard-config.h
\
xfcekbd-util.c
\
xfcekbd-util.h
\
desktop-entries.c
\
desktop-entries.h
\
menu-layout.c
\
...
...
@@ -188,8 +186,6 @@ EXTRA_xfce4_screensaver_dialog_SOURCES = \
xfcekbd-desktop-config.h
\
xfcekbd-keyboard-config.c
\
xfcekbd-keyboard-config.h
\
xfcekbd-util.c
\
xfcekbd-util.h
\
desktop-entries.c
\
desktop-entries.h
\
menu-layout.c
\
...
...
@@ -270,8 +266,6 @@ xfce4_screensaver_SOURCES = \
xfcekbd-desktop-config.h
\
xfcekbd-keyboard-config.c
\
xfcekbd-keyboard-config.h
\
xfcekbd-util.c
\
xfcekbd-util.h
\
xfcemenu-tree.c
\
xfcemenu-tree.h
\
desktop-entries.c
\
...
...
@@ -331,8 +325,6 @@ xfce4_screensaver_preferences_SOURCES = \
xfcekbd-desktop-config.h
\
xfcekbd-keyboard-config.c
\
xfcekbd-keyboard-config.h
\
xfcekbd-util.c
\
xfcekbd-util.h
\
xfcemenu-tree.c
\
xfcemenu-tree.h
\
canonicalize.c
\
...
...
src/xfcekbd-keyboard-config.c
View file @
f7cf31f0
...
...
@@ -28,7 +28,6 @@
#include "xfcekbd-keyboard-config.h"
#include "xfcekbd-config-private.h"
#include "xfcekbd-util.h"
/*
* XfcekbdKeyboardConfig
...
...
src/xfcekbd-util.c
deleted
100644 → 0
View file @
18b0b8c8
/*
* Copyright (C) 2006 Sergey V. Udaltsov <svu@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This 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
* 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., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include <config.h>
#include <xfcekbd-util.h>
#include <time.h>
#include <glib/gi18n-lib.h>
#include <libxklavier/xklavier.h>
#include <gio/gio.h>
#include <gdk/gdkx.h>
#include <xfcekbd-config-private.h>
/**
* xfcekbd_strv_append:
*
* Returns: (transfer full) (array zero-terminated=1): Append string to strv array
*/
gchar
**
xfcekbd_strv_append
(
gchar
**
arr
,
gchar
*
element
)
{
gint
old_length
=
(
arr
==
NULL
)
?
0
:
g_strv_length
(
arr
);
gchar
**
new_arr
=
g_new0
(
gchar
*
,
old_length
+
2
);
if
(
arr
!=
NULL
)
{
memcpy
(
new_arr
,
arr
,
old_length
*
sizeof
(
gchar
*
));
g_free
(
arr
);
}
new_arr
[
old_length
]
=
element
;
return
new_arr
;
}
src/xfcekbd-util.h
deleted
100644 → 0
View file @
18b0b8c8
/*
* Copyright (C) 2006 Sergey V. Udaltsov <svu@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This 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
* 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., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __XFCEKBD_UTIL_H__
#define __XFCEKBD_UTIL_H__
#include <glib.h>
#include <gdk/gdk.h>
/* Missing in glib */
extern
gchar
**
xfcekbd_strv_append
(
gchar
**
arr
,
gchar
*
element
);
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment