Use single header includes

This commit is contained in:
Tomasz Moń
2009-04-11 22:32:21 +02:00
parent a6d07fd802
commit 12c2ccc87f
3 changed files with 6 additions and 10 deletions

View File

@@ -17,7 +17,7 @@
#ifndef GDIGI_EFFECTS_H #ifndef GDIGI_EFFECTS_H
#define GDIGI_EFFECTS_H #define GDIGI_EFFECTS_H
#include <glib/gtypes.h> #include <glib.h>
typedef struct { typedef struct {
gdouble min; /**< Minumum value */ gdouble min; /**< Minumum value */

View File

@@ -20,12 +20,10 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*****************************************************************************/ *****************************************************************************/
#include <math.h>
#include <stdio.h>
#include <gtk/gtkmain.h>
#include <gtk/gtksignal.h>
#include <gdk/gdkkeysyms.h>
#include <math.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "gtkknob.h" #include "gtkknob.h"

View File

@@ -3,7 +3,7 @@
* Most of this code comes from gAlan 0.2.0, copyright (C) 1999 * Most of this code comes from gAlan 0.2.0, copyright (C) 1999
* Tony Garnock-Jones, with modifications by Sean Bolton, * Tony Garnock-Jones, with modifications by Sean Bolton,
* copyright (C) 2004, and minor modifications by William Weston, * copyright (C) 2004, and minor modifications by William Weston,
* copyright (C) 2007. * copyright (C) 2007, Tomasz Moń, copyright (C) 2009
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
@@ -22,9 +22,7 @@
#ifndef __GTK_KNOB_H__ #ifndef __GTK_KNOB_H__
#define __GTK_KNOB_H__ #define __GTK_KNOB_H__
#include <gdk/gdk.h> #include <gtk/gtk.h>
#include <gtk/gtkadjustment.h>
#include <gtk/gtkwidget.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {