/soc/2013/ankitkv/gobjectification: 494f09f7f331: Move section b...

Ankit Vani a at nevitus.org
Sat Feb 8 05:34:35 EST 2014


Changeset: 494f09f7f33105f35d325098cbab0126a5976cc2
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-02-07 21:45 +0530
Branch:	 gtkdoc-conversion
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/494f09f7f331

Description:

Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells

diffstat:

 finch/finch.h                    |   6 +++---
 finch/gntaccount.h               |   6 +++---
 finch/gntblist.h                 |   6 +++---
 finch/gntcertmgr.h               |   6 +++---
 finch/gntconn.h                  |   6 +++---
 finch/gntconv.h                  |   6 +++---
 finch/gntdebug.h                 |   6 +++---
 finch/gntidle.h                  |   6 +++---
 finch/gntlog.h                   |   6 +++---
 finch/gntmedia.h                 |   6 +++---
 finch/gntmenuutil.h              |   6 +++---
 finch/gntnotify.h                |   6 +++---
 finch/gntplugin.h                |   6 +++---
 finch/gntpounce.h                |   6 +++---
 finch/gntprefs.h                 |   6 +++---
 finch/gntrequest.h               |   6 +++---
 finch/gntroomlist.h              |   6 +++---
 finch/gntsound.h                 |   6 +++---
 finch/gntstatus.h                |   6 +++---
 finch/gntui.h                    |   6 +++---
 finch/gntxfer.h                  |   6 +++---
 finch/libgnt/gnt-skel.h          |   6 +++---
 finch/libgnt/gnt.h               |   6 +++---
 finch/libgnt/gntbindable.h       |   6 +++---
 finch/libgnt/gntbox.h            |   6 +++---
 finch/libgnt/gntbutton.h         |   6 +++---
 finch/libgnt/gntcheckbox.h       |   6 +++---
 finch/libgnt/gntclipboard.h      |   6 +++---
 finch/libgnt/gntcolors.h         |   6 +++---
 finch/libgnt/gntcombobox.h       |   6 +++---
 finch/libgnt/gntentry.h          |   6 +++---
 finch/libgnt/gntfilesel.h        |   6 +++---
 finch/libgnt/gntkeys.h           |   6 +++---
 finch/libgnt/gntlabel.h          |   6 +++---
 finch/libgnt/gntline.h           |   6 +++---
 finch/libgnt/gntmenu.h           |   6 +++---
 finch/libgnt/gntmenuitem.h       |   6 +++---
 finch/libgnt/gntmenuitemcheck.h  |   6 +++---
 finch/libgnt/gntprogressbar.h    |   6 +++---
 finch/libgnt/gntslider.h         |   6 +++---
 finch/libgnt/gntstyle.h          |   5 ++++-
 finch/libgnt/gnttextview.h       |   6 +++---
 finch/libgnt/gnttree.h           |   6 +++---
 finch/libgnt/gntutils.h          |   4 ++++
 finch/libgnt/gntwidget.h         |   6 +++---
 finch/libgnt/gntwindow.h         |   6 +++---
 finch/libgnt/gntwm.h             |   6 +++---
 finch/libgnt/gntws.h             |   6 +++---
 libpurple/account.h              |   6 +++---
 libpurple/accountopt.h           |   6 +++---
 libpurple/accounts.h             |   6 +++---
 libpurple/blistnode.h            |   6 +++---
 libpurple/blistnodetypes.h       |   6 +++---
 libpurple/buddyicon.h            |   6 +++---
 libpurple/buddylist.h            |   6 +++---
 libpurple/certificate.h          |   6 +++---
 libpurple/cipher.h               |   6 +++---
 libpurple/ciphers/aescipher.h    |   6 +++---
 libpurple/ciphers/des3cipher.h   |   6 +++---
 libpurple/ciphers/descipher.h    |   6 +++---
 libpurple/ciphers/hmaccipher.h   |   6 +++---
 libpurple/ciphers/md4hash.h      |   6 +++---
 libpurple/ciphers/md5hash.h      |   6 +++---
 libpurple/ciphers/pbkdf2cipher.h |   6 +++---
 libpurple/ciphers/rc4cipher.h    |   6 +++---
 libpurple/ciphers/sha1hash.h     |   6 +++---
 libpurple/ciphers/sha256hash.h   |   6 +++---
 libpurple/circularbuffer.h       |   6 +++---
 libpurple/cmds.h                 |   6 +++---
 libpurple/connection.h           |   6 +++---
 libpurple/conversation.h         |   6 +++---
 libpurple/conversations.h        |   6 +++---
 libpurple/conversationtypes.h    |   6 +++---
 libpurple/core.h                 |   6 +++---
 libpurple/dbus-bindings.h        |   6 +++---
 libpurple/dbus-maybe.h           |   5 ++---
 libpurple/dbus-purple.h          |   6 +++---
 libpurple/dbus-server.h          |   6 +++---
 libpurple/dbus-useful.h          |   3 +++
 libpurple/debug.h                |   6 +++---
 libpurple/desktopitem.h          |  12 ++++++------
 libpurple/dnsquery.h             |   6 +++---
 libpurple/dnssrv.h               |   6 +++---
 libpurple/e2ee.h                 |   6 +++---
 libpurple/enums.h.in             |   6 +++---
 libpurple/eventloop.h            |   6 +++---
 libpurple/glibcompat.h           |   6 +++---
 libpurple/http.h                 |   6 +++---
 libpurple/idle.h                 |   6 +++---
 libpurple/imgstore.h             |   6 +++---
 libpurple/internal.h             |   6 +++---
 libpurple/keyring.h              |   6 +++---
 libpurple/log.h                  |   6 +++---
 libpurple/media-gst.h            |   6 +++---
 libpurple/media.h                |   6 +++---
 libpurple/media/backend-fs2.h    |   6 +++---
 libpurple/media/backend-iface.h  |   6 +++---
 libpurple/media/candidate.h      |   6 +++---
 libpurple/media/codec.h          |   6 +++---
 libpurple/media/enum-types.h     |   6 +++---
 libpurple/mediamanager.h         |   6 +++---
 libpurple/mime.h                 |   6 +++---
 libpurple/nat-pmp.h              |   6 +++---
 libpurple/network.h              |   6 +++---
 libpurple/notify.h               |   6 +++---
 libpurple/ntlm.h                 |   6 +++---
 libpurple/plugin.h               |   6 +++---
 libpurple/pluginpref.h           |   6 +++---
 libpurple/pounce.h               |   6 +++---
 libpurple/prefs.h                |   6 +++---
 libpurple/presence.h             |   6 +++---
 libpurple/proxy.h                |   6 +++---
 libpurple/prpl.h                 |   6 +++---
 libpurple/purple-socket.h        |   6 +++---
 libpurple/purple.h.in            |   6 +++---
 libpurple/request-datasheet.h    |   6 +++---
 libpurple/request.h              |   6 +++---
 libpurple/roomlist.h             |   6 +++---
 libpurple/savedstatuses.h        |   6 +++---
 libpurple/server.h               |   6 +++---
 libpurple/signals.h              |   6 +++---
 libpurple/smiley.h               |   6 +++---
 libpurple/sound-theme-loader.h   |   6 +++---
 libpurple/sound-theme.h          |   6 +++---
 libpurple/sound.h                |   6 +++---
 libpurple/sslconn.h              |   6 +++---
 libpurple/status.h               |   6 +++---
 libpurple/stringref.h            |   6 +++---
 libpurple/stun.h                 |   6 +++---
 libpurple/theme-loader.h         |   6 +++---
 libpurple/theme-manager.h        |   6 +++---
 libpurple/theme.h                |   6 +++---
 libpurple/upnp.h                 |   6 +++---
 libpurple/util.h                 |   6 +++---
 libpurple/version.h.in           |   6 +++---
 libpurple/whiteboard.h           |   6 +++---
 libpurple/xfer.h                 |   6 +++---
 libpurple/xmlnode.h              |   6 +++---
 pidgin/gtk3compat.h              |   6 +++---
 pidgin/gtkaccount.h              |   6 +++---
 pidgin/gtkblist-theme-loader.h   |   6 +++---
 pidgin/gtkblist-theme.h          |   6 +++---
 pidgin/gtkblist.h                |   6 +++---
 pidgin/gtkcellrendererexpander.h |   6 +++---
 pidgin/gtkcertmgr.h              |   6 +++---
 pidgin/gtkconn.h                 |   6 +++---
 pidgin/gtkconv-theme-loader.h    |   6 +++---
 pidgin/gtkconv-theme.h           |   6 +++---
 pidgin/gtkconv.h                 |   6 +++---
 pidgin/gtkconvwin.h              |   6 +++---
 pidgin/gtkdebug.h                |   6 +++---
 pidgin/gtkdialogs.h              |   6 +++---
 pidgin/gtkdnd-hints.h            |   6 +++---
 pidgin/gtkdocklet.h              |   6 +++---
 pidgin/gtkeventloop.h            |   6 +++---
 pidgin/gtkicon-theme-loader.h    |   6 +++---
 pidgin/gtkicon-theme.h           |   6 +++---
 pidgin/gtkidle.h                 |   6 +++---
 pidgin/gtkinternal.h             |   6 +++---
 pidgin/gtklog.h                  |   6 +++---
 pidgin/gtkmedia.h                |   6 +++---
 pidgin/gtkmenutray.h             |   6 +++---
 pidgin/gtknickcolors.h           |   6 +++---
 pidgin/gtknotify.h               |   6 +++---
 pidgin/gtkplugin.h               |   6 +++---
 pidgin/gtkpluginpref.h           |   6 +++---
 pidgin/gtkpounce.h               |   6 +++---
 pidgin/gtkprefs.h                |   6 +++---
 pidgin/gtkprivacy.h              |   6 +++---
 pidgin/gtkrequest.h              |   6 +++---
 pidgin/gtkroomlist.h             |   6 +++---
 pidgin/gtksavedstatuses.h        |   6 +++---
 pidgin/gtkscrollbook.h           |   6 +++---
 pidgin/gtksession.h              |   6 +++---
 pidgin/gtksmiley.h               |   6 +++---
 pidgin/gtksound.h                |   6 +++---
 pidgin/gtksourceiter.h           |   6 +++---
 pidgin/gtksourceundomanager.h    |   6 +++---
 pidgin/gtkstatus-icon-theme.h    |   6 +++---
 pidgin/gtkstatusbox.h            |   6 +++---
 pidgin/gtkthemes.h               |   6 +++---
 pidgin/gtkutils.h                |   6 +++---
 pidgin/gtkwebview.h              |   6 +++---
 pidgin/gtkwebviewtoolbar.h       |   6 +++---
 pidgin/gtkwhiteboard.h           |   6 +++---
 pidgin/gtkxfer.h                 |   6 +++---
 pidgin/minidialog.h              |   6 +++---
 pidgin/pidgin.h                  |   6 +++---
 pidgin/pidginstock.h             |   6 +++---
 pidgin/pidgintooltip.h           |   6 +++---
 pidgin/smileyparser.h            |   4 ++++
 191 files changed, 578 insertions(+), 565 deletions(-)

diffs (truncated from 4372 to 300 lines):

diff --git a/finch/finch.h b/finch/finch.h
--- a/finch/finch.h
+++ b/finch/finch.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _FINCH_H_
+#define _FINCH_H_
 /**
  * SECTION:finch
  * @section_id: finch-finch
@@ -25,9 +28,6 @@
  * @title: UI Definitions and Includes
  */
 
-#ifndef _FINCH_H_
-#define _FINCH_H_
-
 #include <glib.h>
 
 #define FINCH_UI "gnt-purple"
diff --git a/finch/gntaccount.h b/finch/gntaccount.h
--- a/finch/gntaccount.h
+++ b/finch/gntaccount.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _GNT_ACCOUNT_H
+#define _GNT_ACCOUNT_H
 /**
  * SECTION:gntaccount
  * @section_id: finch-gntaccount
@@ -25,9 +28,6 @@
  * @title: Account API
  */
 
-#ifndef _GNT_ACCOUNT_H
-#define _GNT_ACCOUNT_H
-
 #include "account.h"
 
 /**********************************************************************
diff --git a/finch/gntblist.h b/finch/gntblist.h
--- a/finch/gntblist.h
+++ b/finch/gntblist.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _GNT_BLIST_H
+#define _GNT_BLIST_H
 /**
  * SECTION:gntblist
  * @section_id: finch-gntblist
@@ -25,9 +28,6 @@
  * @title: Buddy List API
  */
 
-#ifndef _GNT_BLIST_H
-#define _GNT_BLIST_H
-
 #include "buddylist.h"
 #include "gnttree.h"
 
diff --git a/finch/gntcertmgr.h b/finch/gntcertmgr.h
--- a/finch/gntcertmgr.h
+++ b/finch/gntcertmgr.h
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  *
  */
+
+#ifndef _GNT_CERTMGR_H
+#define _GNT_CERTMGR_H
 /**
  * SECTION:gntcertmgr
  * @section_id: finch-gntcertmgr
@@ -26,9 +29,6 @@
  * @title: Certificate Manager API
  */
 
-#ifndef _GNT_CERTMGR_H
-#define _GNT_CERTMGR_H
-
 void finch_certmgr_show(void);
 
 #endif
diff --git a/finch/gntconn.h b/finch/gntconn.h
--- a/finch/gntconn.h
+++ b/finch/gntconn.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _GNT_CONN_H
+#define _GNT_CONN_H
 /**
  * SECTION:gntconn
  * @section_id: finch-gntconn
@@ -25,9 +28,6 @@
  * @title: Connection API
  */
 
-#ifndef _GNT_CONN_H
-#define _GNT_CONN_H
-
 #include "connection.h"
 
 /**********************************************************************
diff --git a/finch/gntconv.h b/finch/gntconv.h
--- a/finch/gntconv.h
+++ b/finch/gntconv.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _GNT_CONV_H
+#define _GNT_CONV_H
 /**
  * SECTION:gntconv
  * @section_id: finch-gntconv
@@ -25,9 +28,6 @@
  * @title: Conversation API
  */
 
-#ifndef _GNT_CONV_H
-#define _GNT_CONV_H
-
 #include <gnt.h>
 #include <gntwidget.h>
 #include <gntmenuitem.h>
diff --git a/finch/gntdebug.h b/finch/gntdebug.h
--- a/finch/gntdebug.h
+++ b/finch/gntdebug.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _GNT_DEBUG_H
+#define _GNT_DEBUG_H
 /**
  * SECTION:gntdebug
  * @section_id: finch-gntdebug
@@ -25,9 +28,6 @@
  * @title: Debug API
  */
 
-#ifndef _GNT_DEBUG_H
-#define _GNT_DEBUG_H
-
 #include "debug.h"
 
 /**********************************************************************
diff --git a/finch/gntidle.h b/finch/gntidle.h
--- a/finch/gntidle.h
+++ b/finch/gntidle.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _GNT_IDLE_H_
+#define _GNT_IDLE_H_
 /**
  * SECTION:gntidle
  * @section_id: finch-gntidle
@@ -25,9 +28,6 @@
  * @title: Idle API
  */
 
-#ifndef _GNT_IDLE_H_
-#define _GNT_IDLE_H_
-
 #include "idle.h"
 
 /**************************************************************************/
diff --git a/finch/gntlog.h b/finch/gntlog.h
--- a/finch/gntlog.h
+++ b/finch/gntlog.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _FINCHLOG_H_
+#define _FINCHLOG_H_
 /**
  * SECTION:gntlog
  * @section_id: finch-gntlog
@@ -25,9 +28,6 @@
  * @title: Log Viewer
  */
 
-#ifndef _FINCHLOG_H_
-#define _FINCHLOG_H_
-
 #include "log.h"
 #include "account.h"
 #include "gntwidget.h"
diff --git a/finch/gntmedia.h b/finch/gntmedia.h
--- a/finch/gntmedia.h
+++ b/finch/gntmedia.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef GNT_MEDIA_H
+#define GNT_MEDIA_H
 /**
  * SECTION:gntmedia
  * @section_id: finch-gntmedia
@@ -25,9 +28,6 @@
  * @title: Media API
  */
 
-#ifndef GNT_MEDIA_H
-#define GNT_MEDIA_H
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
diff --git a/finch/gntmenuutil.h b/finch/gntmenuutil.h
--- a/finch/gntmenuutil.h
+++ b/finch/gntmenuutil.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _GNT_MENUUTIL_H
+#define _GNT_MENUUTIL_H
 /**
  * SECTION:gntmenuutil
  * @section_id: finch-gntmenuutil
@@ -25,9 +28,6 @@
  * @title: Menu Utility functions
  */
 
-#ifndef _GNT_MENUUTIL_H
-#define _GNT_MENUUTIL_H
-
 #include <gnt.h>
 #include <gntmenu.h>
 
diff --git a/finch/gntnotify.h b/finch/gntnotify.h
--- a/finch/gntnotify.h
+++ b/finch/gntnotify.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _GNT_NOTIFY_H
+#define _GNT_NOTIFY_H
 /**
  * SECTION:gntnotify
  * @section_id: finch-gntnotify
@@ -25,9 +28,6 @@
  * @title: Notify API
  */
 
-#ifndef _GNT_NOTIFY_H
-#define _GNT_NOTIFY_H
-
 #include "notify.h"
 
 /**********************************************************************
diff --git a/finch/gntplugin.h b/finch/gntplugin.h
--- a/finch/gntplugin.h
+++ b/finch/gntplugin.h
@@ -18,6 +18,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#ifndef _GNT_PLUGIN_H
+#define _GNT_PLUGIN_H
 /**
  * SECTION:gntplugin
  * @section_id: finch-gntplugin
@@ -25,9 +28,6 @@
  * @title: Plugin API
  */
 
-#ifndef _GNT_PLUGIN_H
-#define _GNT_PLUGIN_H
-
 #include <gnt.h>
 
 #include <plugin.h>
diff --git a/finch/gntpounce.h b/finch/gntpounce.h



More information about the Commits mailing list