[gtk+] Remove redundant declarations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove redundant declarations
- Date: Mon, 17 Oct 2016 11:01:48 +0000 (UTC)
commit 44885bcfed5c7f57d2eb90953b7c46b08ab25654
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Oct 15 21:19:12 2016 +0100
Remove redundant declarations
gtk/gtkassistant.c | 3 ---
gtk/gtkbuilder.c | 2 --
gtk/gtkcellrenderercombo.c | 2 --
gtk/gtkclipboard.c | 1 -
gtk/gtkicontheme.c | 2 --
gtk/gtkrecentchooserdefault.c | 2 --
gtk/gtkrecentchooserdialog.c | 2 --
gtk/gtktextbtree.c | 2 --
gtk/gtktooltip.c | 3 ---
gtk/gtkwidget.c | 6 ------
10 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index faf60e7..de8a242 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -132,8 +132,6 @@ struct _GtkAssistantPrivate
guint committed : 1;
};
-static void gtk_assistant_class_init (GtkAssistantClass *class);
-static void gtk_assistant_init (GtkAssistant *assistant);
static void gtk_assistant_destroy (GtkWidget *widget);
static void gtk_assistant_map (GtkWidget *widget);
static void gtk_assistant_unmap (GtkWidget *widget);
@@ -222,7 +220,6 @@ enum {
static guint signals [LAST_SIGNAL] = { 0 };
-
G_DEFINE_TYPE_WITH_CODE (GtkAssistant, gtk_assistant, GTK_TYPE_WINDOW,
G_ADD_PRIVATE (GtkAssistant)
G_IMPLEMENT_INTERFACE (GTK_TYPE_BUILDABLE,
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index 547461e..3755dc5 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -224,8 +224,6 @@
#include "deprecated/gtkstock.h"
-static void gtk_builder_class_init (GtkBuilderClass *klass);
-static void gtk_builder_init (GtkBuilder *builder);
static void gtk_builder_finalize (GObject *object);
static void gtk_builder_set_property (GObject *object,
guint prop_id,
diff --git a/gtk/gtkcellrenderercombo.c b/gtk/gtkcellrenderercombo.c
index 78eb81b..c79570b 100644
--- a/gtk/gtkcellrenderercombo.c
+++ b/gtk/gtkcellrenderercombo.c
@@ -63,8 +63,6 @@ struct _GtkCellRendererComboPrivate
};
-static void gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass);
-static void gtk_cell_renderer_combo_init (GtkCellRendererCombo *self);
static void gtk_cell_renderer_combo_finalize (GObject *object);
static void gtk_cell_renderer_combo_get_property (GObject *object,
guint prop_id,
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c
index 06a8a39..e558a37 100644
--- a/gtk/gtkclipboard.c
+++ b/gtk/gtkclipboard.c
@@ -159,7 +159,6 @@ struct _RequestTargetsInfo
gpointer user_data;
};
-static void gtk_clipboard_class_init (GtkClipboardClass *class);
static void gtk_clipboard_finalize (GObject *object);
static void gtk_clipboard_owner_change (GtkClipboard *clipboard,
GdkEventOwnerChange *event);
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 5dc1401..b208b63 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -3415,8 +3415,6 @@ theme_subdir_load (GtkIconTheme *icon_theme,
* GtkIconInfo
*/
-static void gtk_icon_info_class_init (GtkIconInfoClass *klass);
-
G_DEFINE_TYPE (GtkIconInfo, gtk_icon_info, G_TYPE_OBJECT)
static void
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c
index b6b8f93..98d8f51 100644
--- a/gtk/gtkrecentchooserdefault.c
+++ b/gtk/gtkrecentchooserdefault.c
@@ -174,8 +174,6 @@ enum {
/* GObject */
-static void _gtk_recent_chooser_default_class_init (GtkRecentChooserDefaultClass *klass);
-static void _gtk_recent_chooser_default_init (GtkRecentChooserDefault *impl);
static void gtk_recent_chooser_default_finalize (GObject *object);
static void gtk_recent_chooser_default_dispose (GObject *object);
static void gtk_recent_chooser_default_set_property (GObject *object,
diff --git a/gtk/gtkrecentchooserdialog.c b/gtk/gtkrecentchooserdialog.c
index f83db78..9e067f9 100644
--- a/gtk/gtkrecentchooserdialog.c
+++ b/gtk/gtkrecentchooserdialog.c
@@ -88,8 +88,6 @@ struct _GtkRecentChooserDialogPrivate
#define GTK_RECENT_CHOOSER_DIALOG_GET_PRIVATE(obj) (GTK_RECENT_CHOOSER_DIALOG (obj)->priv)
-static void gtk_recent_chooser_dialog_class_init (GtkRecentChooserDialogClass *klass);
-static void gtk_recent_chooser_dialog_init (GtkRecentChooserDialog *dialog);
static void gtk_recent_chooser_dialog_finalize (GObject *object);
static void gtk_recent_chooser_dialog_constructed (GObject *object);
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c
index 2c995aa..330d1af 100644
--- a/gtk/gtktextbtree.c
+++ b/gtk/gtktextbtree.c
@@ -304,8 +304,6 @@ static void gtk_text_btree_node_free_empty (GtkTextBTr
GtkTextBTreeNode *node);
static NodeData * gtk_text_btree_node_ensure_data (GtkTextBTreeNode *node,
gpointer view_id);
-static void gtk_text_btree_node_remove_data (GtkTextBTreeNode *node,
- gpointer view_id);
static void gtk_text_btree_node_get_size (GtkTextBTreeNode *node,
gpointer view_id,
gint *width,
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 72344a8..4a2c76f 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -136,9 +136,6 @@ struct _GtkTooltipClass
#define GTK_TOOLTIP_VISIBLE(tooltip) ((tooltip)->current_window && gtk_widget_get_visible
(GTK_WIDGET((tooltip)->current_window)))
-
-static void gtk_tooltip_class_init (GtkTooltipClass *klass);
-static void gtk_tooltip_init (GtkTooltip *tooltip);
static void gtk_tooltip_dispose (GObject *object);
static void gtk_tooltip_window_hide (GtkWidget *widget,
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index a997c96..fd29ad3 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -751,12 +751,6 @@ static void gtk_widget_buildable_parser_finished (GtkBuildable
GtkBuilder *builder);
static GtkSizeRequestMode gtk_widget_real_get_request_mode (GtkWidget *widget);
-static void gtk_widget_real_get_width (GtkWidget *widget,
- gint *minimum_size,
- gint *natural_size);
-static void gtk_widget_real_get_height (GtkWidget *widget,
- gint *minimum_size,
- gint *natural_size);
static void gtk_widget_queue_tooltip_query (GtkWidget *widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]