Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GLib
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Simon McVittie
GLib
Commits
1d22b648
Commit
1d22b648
authored
May 14, 2010
by
Matthias Clasen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanups
Sort #includes a bit better, and don't include platform-specific headers in gio.h.
parent
05407989
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
42 additions
and
44 deletions
+42
-44
gio/gcredentials.c
gio/gcredentials.c
+5
-4
gio/gdbus-tool.c
gio/gdbus-tool.c
+2
-2
gio/gdbusauth.c
gio/gdbusauth.c
+6
-5
gio/gdbusauthmechanismexternal.c
gio/gdbusauthmechanismexternal.c
+4
-5
gio/gdbusauthmechanismsha1.c
gio/gdbusauthmechanismsha1.c
+8
-10
gio/gdbusconnection.c
gio/gdbusconnection.c
+6
-4
gio/gdbusmessage.c
gio/gdbusmessage.c
+6
-5
gio/gdbusprivate.c
gio/gdbusprivate.c
+2
-6
gio/gdbusproxywatching.c
gio/gdbusproxywatching.c
+0
-1
gio/gdbusserver.c
gio/gdbusserver.c
+3
-1
gio/gio.h
gio/gio.h
+0
-1
No files found.
gio/gcredentials.c
View file @
1d22b648
...
...
@@ -23,10 +23,6 @@
#include "config.h"
#include <stdlib.h>
#include <gobject/gvaluecollector.h>
#include "gcredentials.h"
#include "gioerror.h"
#ifdef __linux__
#define __USE_GNU
...
...
@@ -36,6 +32,11 @@
#include <string.h>
#endif
#include <gobject/gvaluecollector.h>
#include "gcredentials.h"
#include "gioerror.h"
#include "glibintl.h"
#include "gioalias.h"
...
...
gio/gdbus-tool.c
View file @
1d22b648
...
...
@@ -22,11 +22,11 @@
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <gio/gio.h>
#include <stdio.h>
#include <stdlib.h>
#include <gi18n.h>
...
...
gio/gdbusauth.c
View file @
1d22b648
...
...
@@ -22,11 +22,14 @@
#include "config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include "gdbusauth.h"
#include "gdbusauthmechanismanon.h"
#include "gdbusauthmechanismexternal.h"
#include "gdbusauthmechanismsha1.h"
#include "gdbusauthobserver.h"
#include "gdbuserror.h"
...
...
@@ -36,16 +39,14 @@
#include "gdbusprivate.h"
#ifdef G_OS_UNIX
#include
<gio/gunixconnection.h>
#include
"gunixconnection.h"
#include "gunixcredentialsmessage.h"
#include <sys/types.h>
#include <sys/socket.h>
#endif
#include "glibintl.h"
#include "gioalias.h"
#define DEBUG_ENABLED
1
#define DEBUG_ENABLED
0
static
void
debug_print
(
const
gchar
*
message
,
...)
...
...
gio/gdbusauthmechanismexternal.c
View file @
1d22b648
...
...
@@ -23,17 +23,16 @@
#include "config.h"
#include <string.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "gdbusauthmechanismexternal.h"
#include "gcredentials.h"
#include "gdbuserror.h"
#include "gioenumtypes.h"
#ifdef G_OS_UNIX
#include <sys/types.h>
#include <unistd.h>
#endif
#include "glibintl.h"
#include "gioalias.h"
...
...
gio/gdbusauthmechanismsha1.c
View file @
1d22b648
...
...
@@ -23,6 +23,14 @@
#include "config.h"
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <glib/gstdio.h>
#include "gdbusauthmechanismsha1.h"
#include "gcredentials.h"
...
...
@@ -30,16 +38,6 @@
#include "gioenumtypes.h"
#include "gioerror.h"
#ifdef G_OS_UNIX
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#endif
#include <errno.h>
#include <glib/gstdio.h>
#include "glibintl.h"
#include "gioalias.h"
...
...
gio/gdbusconnection.c
View file @
1d22b648
...
...
@@ -101,6 +101,10 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "gdbusauth.h"
#include "gdbusutils.h"
...
...
@@ -121,10 +125,8 @@
#include "gsimpleasyncresult.h"
#ifdef G_OS_UNIX
#include <gio/gunixconnection.h>
#include <gio/gunixfdmessage.h>
#include <unistd.h>
#include <sys/types.h>
#include "gunixconnection.h"
#include "gunixfdmessage.h"
#endif
#include "glibintl.h"
...
...
gio/gdbusmessage.c
View file @
1d22b648
...
...
@@ -23,6 +23,12 @@
#include "config.h"
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "gdbusutils.h"
#include "gdbusmessage.h"
...
...
@@ -39,11 +45,6 @@
#ifdef G_OS_UNIX
#include "gunixfdlist.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
#endif
#include "glibintl.h"
...
...
gio/gdbusprivate.c
View file @
1d22b648
...
...
@@ -24,11 +24,7 @@
#include <stdlib.h>
#include <string.h>
#ifdef G_OS_UNIX
#include <gio/gunixconnection.h>
#include <gio/gunixfdmessage.h>
#include "gunixcredentialsmessage.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
...
...
@@ -45,9 +41,9 @@
#include "gsocketcontrolmessage.h"
#ifdef G_OS_UNIX
#include <unistd.h>
#include "gunixfdmessage.h"
#include "gunixconnection.h"
#include "gunixcredentialsmessage.h"
#endif
#include "glibintl.h"
...
...
gio/gdbusproxywatching.c
View file @
1d22b648
...
...
@@ -31,7 +31,6 @@
#include "gdbuserror.h"
#include "gdbusprivate.h"
#include "gdbusproxy.h"
#include "gdbusnamewatching.h"
#include "gcancellable.h"
#include "glibintl.h"
...
...
gio/gdbusserver.c
View file @
1d22b648
...
...
@@ -25,6 +25,9 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "giotypes.h"
#include "gdbusaddress.h"
...
...
@@ -39,7 +42,6 @@
#include "gsocketservice.h"
#ifdef G_OS_UNIX
#include <unistd.h>
#include "gunixsocketaddress.h"
#endif
...
...
gio/gio.h
View file @
1d22b648
...
...
@@ -110,7 +110,6 @@
#include <gio/gdbusmethodinvocation.h>
#include <gio/gdbusserver.h>
#include <gio/gcredentials.h>
#include <gio/gunixcredentialsmessage.h>
#include <gio/gdbusauthobserver.h>
#undef __GIO_GIO_H_INSIDE__
...
...
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