qulogic/libgnt

1a882539bbf4
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
--- a/gnt-skel.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gnt-skel.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_SKEL_H
+#define GNT_SKEL_H
/*
* SECTION:gnt-skel
* @section_id: libgnt-gnt-skel
@@ -26,9 +29,6 @@
* @title: Skel API
*/
-#ifndef GNT_SKEL_H
-#define GNT_SKEL_H
-
#include "gntwidget.h"
#include "gnt.h"
#include "gntcolors.h"
--- a/gnt.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gnt.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_H
+#define GNT_H
/**
* SECTION:gnt
* @section_id: libgnt-gnt
@@ -26,9 +29,6 @@
* @title: GNT API
*/
-#ifndef GNT_H
-#define GNT_H
-
#include <glib.h>
#include "gntwidget.h"
#include "gntclipboard.h"
--- a/gntbindable.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntbindable.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_BINDABLE_H
+#define GNT_BINDABLE_H
/**
* SECTION:gntbindable
* @section_id: libgnt-gntbindable
@@ -26,9 +29,6 @@
* @title: Bindable
*/
-#ifndef GNT_BINDABLE_H
-#define GNT_BINDABLE_H
-
#include <stdio.h>
#include <glib.h>
#include <glib-object.h>
--- a/gntbox.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntbox.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_BOX_H
+#define GNT_BOX_H
/**
* SECTION:gntbox
* @section_id: libgnt-gntbox
@@ -26,9 +29,6 @@
* @title: Box
*/
-#ifndef GNT_BOX_H
-#define GNT_BOX_H
-
#include "gnt.h"
#include "gntwidget.h"
--- a/gntbutton.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntbutton.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_BUTTON_H
+#define GNT_BUTTON_H
/**
* SECTION:gntbutton
* @section_id: libgnt-gntbutton
@@ -26,9 +29,6 @@
* @title: Button
*/
-#ifndef GNT_BUTTON_H
-#define GNT_BUTTON_H
-
#include <glib.h>
#include <glib-object.h>
#include "gnt.h"
--- a/gntcheckbox.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntcheckbox.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_CHECK_BOX_H
+#define GNT_CHECK_BOX_H
/**
* SECTION:gntcheckbox
* @section_id: libgnt-gntcheckbox
@@ -26,9 +29,6 @@
* @title: Checkbox
*/
-#ifndef GNT_CHECK_BOX_H
-#define GNT_CHECK_BOX_H
-
#include "gntbutton.h"
#include "gnt.h"
#include "gntcolors.h"
--- a/gntclipboard.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntclipboard.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_CLIPBOARD_H
+#define GNT_CLIPBOARD_H
/**
* SECTION:gntclipboard
* @section_id: libgnt-gntclipboard
@@ -26,9 +29,6 @@
* @title: Clipboard
*/
-#ifndef GNT_CLIPBOARD_H
-#define GNT_CLIPBOARD_H
-
#include <stdio.h>
#include <glib.h>
#include <glib-object.h>
--- a/gntcolors.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntcolors.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_COLORS_H
+#define GNT_COLORS_H
/**
* SECTION:gntcolors
* @section_id: libgnt-gntcolors
@@ -26,9 +29,6 @@
* @title: Colors
*/
-#ifndef GNT_COLORS_H
-#define GNT_COLORS_H
-
#include <glib.h>
/**
--- a/gntcombobox.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntcombobox.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_COMBO_BOX_H
+#define GNT_COMBO_BOX_H
/**
* SECTION:gntcombobox
* @section_id: libgnt-gntcombobox
@@ -26,9 +29,6 @@
* @title: Combobox
*/
-#ifndef GNT_COMBO_BOX_H
-#define GNT_COMBO_BOX_H
-
#include "gnt.h"
#include "gntcolors.h"
#include "gntkeys.h"
--- a/gntentry.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntentry.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_ENTRY_H
+#define GNT_ENTRY_H
/**
* SECTION:gntentry
* @section_id: libgnt-gntentry
@@ -26,9 +29,6 @@
* @title: Entry
*/
-#ifndef GNT_ENTRY_H
-#define GNT_ENTRY_H
-
#include "gntwidget.h"
#include "gnt.h"
#include "gntcolors.h"
--- a/gntfilesel.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntfilesel.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_FILE_SEL_H
+#define GNT_FILE_SEL_H
/**
* SECTION:gntfilesel
* @section_id: libgnt-gntfilesel
@@ -26,9 +29,6 @@
* @title: File Selector
*/
-#ifndef GNT_FILE_SEL_H
-#define GNT_FILE_SEL_H
-
#include "gntwindow.h"
#include "gnt.h"
#include "gntcolors.h"
--- a/gntkeys.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntkeys.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_KEYS_H
+#define GNT_KEYS_H
/**
* SECTION:gntkeys
* @section_id: libgnt-gntkeys
@@ -26,9 +29,6 @@
* @title: Keys API
*/
-#ifndef GNT_KEYS_H
-#define GNT_KEYS_H
-
#include <curses.h>
#include <term.h>
--- a/gntlabel.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntlabel.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_LABEL_H
+#define GNT_LABEL_H
/**
* SECTION:gntlabel
* @section_id: libgnt-gntlabel
@@ -26,9 +29,6 @@
* @title: Label
*/
-#ifndef GNT_LABEL_H
-#define GNT_LABEL_H
-
#include "gnt.h"
#include "gntwidget.h"
#include "gnttextview.h"
--- a/gntline.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntline.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_LINE_H
+#define GNT_LINE_H
/**
* SECTION:gntline
* @section_id: libgnt-gntline
@@ -26,9 +29,6 @@
* @title: Line
*/
-#ifndef GNT_LINE_H
-#define GNT_LINE_H
-
#include "gntwidget.h"
#include "gnt.h"
#include "gntcolors.h"
--- a/gntmenu.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntmenu.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_MENU_H
+#define GNT_MENU_H
/**
* SECTION:gntmenu
* @section_id: libgnt-gntmenu
@@ -26,9 +29,6 @@
* @title: Menu
*/
-#ifndef GNT_MENU_H
-#define GNT_MENU_H
-
#include "gnttree.h"
#include "gntcolors.h"
#include "gntkeys.h"
--- a/gntmenuitem.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntmenuitem.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_MENUITEM_H
+#define GNT_MENUITEM_H
/**
* SECTION:gntmenuitem
* @section_id: libgnt-gntmenuitem
@@ -26,9 +29,6 @@
* @title: Menuitem
*/
-#ifndef GNT_MENUITEM_H
-#define GNT_MENUITEM_H
-
#include <glib.h>
#include <glib-object.h>
--- a/gntmenuitemcheck.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntmenuitemcheck.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_MENU_ITEM_CHECK_H
+#define GNT_MENU_ITEM_CHECK_H
/**
* SECTION:gntmenuitemcheck
* @section_id: libgnt-gntmenuitemcheck
@@ -26,9 +29,6 @@
* @title: Check Menuitem
*/
-#ifndef GNT_MENU_ITEM_CHECK_H
-#define GNT_MENU_ITEM_CHECK_H
-
#include "gnt.h"
#include "gntcolors.h"
#include "gntkeys.h"
--- a/gntprogressbar.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntprogressbar.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_PROGRESS_BAR_H
+#define GNT_PROGRESS_BAR_H
/**
* SECTION:gntprogressbar
* @section_id: libgnt-gntprogressbar
@@ -26,9 +29,6 @@
* @title: Progress Bar
*/
-#ifndef GNT_PROGRESS_BAR_H
-#define GNT_PROGRESS_BAR_H
-
#include "gnt.h"
#include "gntwidget.h"
--- a/gntslider.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntslider.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_SLIDER_H
+#define GNT_SLIDER_H
/**
* SECTION:gntslider
* @section_id: libgnt-gntslider
@@ -26,9 +29,6 @@
* @title: Slider
*/
-#ifndef GNT_SLIDER_H
-#define GNT_SLIDER_H
-
#include "gntwidget.h"
#include "gnt.h"
#include "gntlabel.h"
--- a/gntstyle.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntstyle.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_STYLE_H
+#define GNT_STYLE_H
/**
* SECTION:gntstyle
* @section_id: libgnt-gntstyle
@@ -173,4 +176,4 @@
*/
void gnt_uninit_styles(void);
-
+#endif /* GNT_STYLE_H */
--- a/gnttextview.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gnttextview.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_TEXT_VIEW_H
+#define GNT_TEXT_VIEW_H
/**
* SECTION:gnttextview
* @section_id: libgnt-gnttextview
@@ -26,9 +29,6 @@
* @title: Textview
*/
-#ifndef GNT_TEXT_VIEW_H
-#define GNT_TEXT_VIEW_H
-
#include "gntwidget.h"
#include "gnt.h"
#include "gntcolors.h"
--- a/gnttree.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gnttree.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_TREE_H
+#define GNT_TREE_H
/**
* SECTION:gnttree
* @section_id: libgnt-gnttree
@@ -26,9 +29,6 @@
* @title: Tree
*/
-#ifndef GNT_TREE_H
-#define GNT_TREE_H
-
#include "gntwidget.h"
#include "gnt.h"
#include "gntcolors.h"
--- a/gntutils.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntutils.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_UTILS_H
+#define GNT_UTILS_H
/**
* SECTION:gntutils
* @section_id: libgnt-gntutils
@@ -162,3 +165,4 @@
*/
void gnt_util_set_trigger_widget(GntWidget *widget, const char *key, GntWidget *button);
+#endif /* GNT_UTILS_H */
--- a/gntwidget.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntwidget.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_WIDGET_H
+#define GNT_WIDGET_H
/**
* SECTION:gntwidget
* @section_id: libgnt-gntwidget
@@ -26,9 +29,6 @@
* @title: Widget
*/
-#ifndef GNT_WIDGET_H
-#define GNT_WIDGET_H
-
#include <stdio.h>
#include <glib.h>
#include <ncurses.h>
--- a/gntwindow.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntwindow.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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_WINDOW_H
+#define GNT_WINDOW_H
/**
* SECTION:gntwindow
* @section_id: libgnt-gntwindow
@@ -26,9 +29,6 @@
* @title: Window
*/
-#ifndef GNT_WINDOW_H
-#define GNT_WINDOW_H
-
#include "gnt.h"
#include "gntbox.h"
#include "gntcolors.h"
--- a/gntwm.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntwm.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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 GNTWM_H
+#define GNTWM_H
/**
* SECTION:gntwm
* @section_id: libgnt-gntwm
@@ -26,9 +29,6 @@
* @title: Window-manager API
*/
-#ifndef GNTWM_H
-#define GNTWM_H
-
#include "gntwidget.h"
#include "gntmenu.h"
#include "gntws.h"
--- a/gntws.h Fri Feb 07 15:41:07 2014 +0530
+++ b/gntws.h Fri Feb 07 21:45:54 2014 +0530
@@ -19,6 +19,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 GNTWS_H
+#define GNTWS_H
/**
* SECTION:gntws
* @section_id: libgnt-gntws
@@ -26,9 +29,6 @@
* @title: Workspace API
*/
-#ifndef GNTWS_H
-#define GNTWS_H
-
#include "gntwidget.h"
#include <panel.h>