gtk/gtkscalebutton.c remove redundant init() and class_init() prototypes,
2008-06-26 Michael Natterer <mitch@imendio.com> * gtk/gtkscalebutton.c * gtk/gtkvolumebutton.c: remove redundant init() and class_init() prototypes, remove redundant includes, remove a little trailing whitespace. svn path=/trunk/; revision=20691
This commit is contained in:

committed by
Michael Natterer

parent
2f29e8d9f5
commit
d79185cf1f
@ -1,3 +1,10 @@
|
|||||||
|
2008-06-26 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
|
* gtk/gtkscalebutton.c
|
||||||
|
* gtk/gtkvolumebutton.c: remove redundant init() and class_init()
|
||||||
|
prototypes, remove redundant includes, remove a little trailing
|
||||||
|
whitespace.
|
||||||
|
|
||||||
2008-06-26 Richard Hult <richard@imendio.com>
|
2008-06-26 Richard Hult <richard@imendio.com>
|
||||||
|
|
||||||
* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
|
* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
|
||||||
|
@ -40,11 +40,12 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||||
|
#include <gdk/gdkkeysyms.h>
|
||||||
|
|
||||||
#include "gtkmain.h"
|
#include "gtkmain.h"
|
||||||
#include "gtkintl.h"
|
#include "gtkintl.h"
|
||||||
#include "gtkrange.h"
|
|
||||||
#include "gtkbindings.h"
|
#include "gtkbindings.h"
|
||||||
#include "gtkscale.h"
|
|
||||||
#include "gtkvscale.h"
|
#include "gtkvscale.h"
|
||||||
#include "gtkframe.h"
|
#include "gtkframe.h"
|
||||||
#include "gtkvbox.h"
|
#include "gtkvbox.h"
|
||||||
@ -52,9 +53,6 @@
|
|||||||
#include "gtkmarshalers.h"
|
#include "gtkmarshalers.h"
|
||||||
#include "gtkstock.h"
|
#include "gtkstock.h"
|
||||||
#include "gtkprivate.h"
|
#include "gtkprivate.h"
|
||||||
|
|
||||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
|
||||||
#include <gdk/gdkkeysyms.h>
|
|
||||||
#include "gtkscalebutton.h"
|
#include "gtkscalebutton.h"
|
||||||
|
|
||||||
#include "gtkalias.h"
|
#include "gtkalias.h"
|
||||||
@ -100,8 +98,6 @@ struct _GtkScaleButtonPrivate
|
|||||||
gchar **icon_list;
|
gchar **icon_list;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void gtk_scale_button_class_init (GtkScaleButtonClass *klass);
|
|
||||||
static void gtk_scale_button_init (GtkScaleButton *button);
|
|
||||||
static void gtk_scale_button_dispose (GObject *object);
|
static void gtk_scale_button_dispose (GObject *object);
|
||||||
static void gtk_scale_button_finalize (GObject *object);
|
static void gtk_scale_button_finalize (GObject *object);
|
||||||
static void gtk_scale_button_set_property (GObject *object,
|
static void gtk_scale_button_set_property (GObject *object,
|
||||||
@ -1128,8 +1124,6 @@ typedef struct _GtkScaleButtonScale {
|
|||||||
GtkScaleButton *button;
|
GtkScaleButton *button;
|
||||||
} GtkScaleButtonScale;
|
} GtkScaleButtonScale;
|
||||||
|
|
||||||
static GType gtk_scale_button_scale_get_type (void);
|
|
||||||
static void gtk_scale_button_scale_class_init (GtkScaleButtonScaleClass *klass);
|
|
||||||
static gboolean gtk_scale_button_scale_press (GtkWidget *widget,
|
static gboolean gtk_scale_button_scale_press (GtkWidget *widget,
|
||||||
GdkEventButton *event);
|
GdkEventButton *event);
|
||||||
static gboolean gtk_scale_button_scale_release (GtkWidget *widget,
|
static gboolean gtk_scale_button_scale_release (GtkWidget *widget,
|
||||||
|
@ -29,8 +29,6 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <atk/atk.h>
|
|
||||||
|
|
||||||
#include "gtkvolumebutton.h"
|
#include "gtkvolumebutton.h"
|
||||||
#include "gtkstock.h"
|
#include "gtkstock.h"
|
||||||
#include "gtktooltip.h"
|
#include "gtktooltip.h"
|
||||||
@ -45,8 +43,6 @@ struct _GtkVolumeButton
|
|||||||
GtkScaleButton parent;
|
GtkScaleButton parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void gtk_volume_button_class_init (GtkVolumeButtonClass *klass);
|
|
||||||
static void gtk_volume_button_init (GtkVolumeButton *button);
|
|
||||||
static gboolean cb_query_tooltip (GtkWidget *button,
|
static gboolean cb_query_tooltip (GtkWidget *button,
|
||||||
gint x,
|
gint x,
|
||||||
gint y,
|
gint y,
|
||||||
@ -187,6 +183,5 @@ cb_value_changed (GtkVolumeButton *button, gdouble value, gpointer user_data)
|
|||||||
gtk_widget_trigger_tooltip_query (GTK_WIDGET (button));
|
gtk_widget_trigger_tooltip_query (GTK_WIDGET (button));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#define __GTK_VOLUME_BUTTON_C__
|
#define __GTK_VOLUME_BUTTON_C__
|
||||||
#include "gtkaliasdef.c"
|
#include "gtkaliasdef.c"
|
||||||
|
Reference in New Issue
Block a user