[gtk+/toolpalette] Remove G_GNUC_UNUSED
- From: Johannes Schmid <jhs src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/toolpalette] Remove G_GNUC_UNUSED
- Date: Mon, 9 Nov 2009 21:16:52 +0000 (UTC)
commit 02a9d9afd81682d73403cec5c8051927de42719f
Author: Johannes Schmid <jhs gnome org>
Date: Sat Nov 7 10:55:37 2009 +0100
Remove G_GNUC_UNUSED
gtk/gtktoolitemgroup.c | 10 +++++-----
gtk/gtktoolpalette.c | 20 ++++++++++----------
2 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c
index 1bbc262..809bff8 100644
--- a/gtk/gtktoolitemgroup.c
+++ b/gtk/gtktoolitemgroup.c
@@ -314,7 +314,7 @@ gtk_tool_item_group_header_expose_event_cb (GtkWidget *widget,
}
static void
-gtk_tool_item_group_header_size_request_cb (GtkWidget *widget G_GNUC_UNUSED,
+gtk_tool_item_group_header_size_request_cb (GtkWidget *widget,
GtkRequisition *requisition,
gpointer data)
{
@@ -323,7 +323,7 @@ gtk_tool_item_group_header_size_request_cb (GtkWidget *widget G_GNUC_UNUSED
}
static void
-gtk_tool_item_group_header_clicked_cb (GtkButton *button G_GNUC_UNUSED,
+gtk_tool_item_group_header_clicked_cb (GtkButton *button,
gpointer data)
{
GtkToolItemGroup *group = GTK_TOOL_ITEM_GROUP (data);
@@ -1048,7 +1048,7 @@ gtk_tool_item_group_size_allocate (GtkWidget *widget,
}
static void
-gtk_tool_item_group_set_focus_cb (GtkWidget *window G_GNUC_UNUSED,
+gtk_tool_item_group_set_focus_cb (GtkWidget *window,
GtkWidget *widget,
gpointer user_data)
{
@@ -1284,7 +1284,7 @@ gtk_tool_item_group_forall (GtkContainer *container,
}
static GType
-gtk_tool_item_group_child_type (GtkContainer *container G_GNUC_UNUSED)
+gtk_tool_item_group_child_type (GtkContainer *container)
{
return GTK_TYPE_TOOL_ITEM;
}
@@ -2421,7 +2421,7 @@ _gtk_tool_item_group_get_width_for_height (GtkToolItemGroup *group,
static void
gtk_tool_palette_reconfigured_foreach_item (GtkWidget *child,
- gpointer data G_GNUC_UNUSED)
+ gpointer data)
{
if (GTK_IS_TOOL_ITEM (child))
gtk_tool_item_toolbar_reconfigured (GTK_TOOL_ITEM (child));
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c
index 6ad3e79..9db65fa 100644
--- a/gtk/gtktoolpalette.c
+++ b/gtk/gtktoolpalette.c
@@ -675,7 +675,7 @@ gtk_tool_palette_realize (GtkWidget *widget)
}
static void
-gtk_tool_palette_adjustment_value_changed (GtkAdjustment *adjustment G_GNUC_UNUSED,
+gtk_tool_palette_adjustment_value_changed (GtkAdjustment *adjustment,
gpointer data)
{
GtkWidget *widget = GTK_WIDGET (data);
@@ -789,7 +789,7 @@ gtk_tool_palette_remove (GtkContainer *container,
static void
gtk_tool_palette_forall (GtkContainer *container,
- gboolean internals G_GNUC_UNUSED,
+ gboolean internals,
GtkCallback callback,
gpointer callback_data)
{
@@ -806,7 +806,7 @@ gtk_tool_palette_forall (GtkContainer *container,
}
static GType
-gtk_tool_palette_child_type (GtkContainer *container G_GNUC_UNUSED)
+gtk_tool_palette_child_type (GtkContainer *container)
{
return GTK_TYPE_TOOL_ITEM_GROUP;
}
@@ -1333,7 +1333,7 @@ gtk_tool_palette_set_group_position (GtkToolPalette *palette,
static void
gtk_tool_palette_group_notify_collapsed (GtkToolItemGroup *group,
- GParamSpec *pspec G_GNUC_UNUSED,
+ GParamSpec *pspec,
gpointer data)
{
GtkToolPalette *palette = GTK_TOOL_PALETTE (data);
@@ -1751,10 +1751,10 @@ _gtk_tool_palette_get_item_size (GtkToolPalette *palette,
static void
gtk_tool_palette_item_drag_data_get (GtkWidget *widget,
- GdkDragContext *context G_GNUC_UNUSED,
+ GdkDragContext *context,
GtkSelectionData *selection,
- guint info G_GNUC_UNUSED,
- guint time G_GNUC_UNUSED,
+ guint info,
+ guint time,
gpointer data)
{
GtkToolPaletteDragData drag_data = { GTK_TOOL_PALETTE (data), NULL };
@@ -1769,10 +1769,10 @@ gtk_tool_palette_item_drag_data_get (GtkWidget *widget,
static void
gtk_tool_palette_child_drag_data_get (GtkWidget *widget,
- GdkDragContext *context G_GNUC_UNUSED,
+ GdkDragContext *context,
GtkSelectionData *selection,
- guint info G_GNUC_UNUSED,
- guint time G_GNUC_UNUSED,
+ guint info,
+ guint time,
gpointer data)
{
GtkToolPaletteDragData drag_data = { GTK_TOOL_PALETTE (data), NULL };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]