summaryrefslogtreecommitdiff
path: root/src/gui_gtk_f.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-05-17 14:24:23 +0000
committerBram Moolenaar <Bram@vim.org>2009-05-17 14:24:23 +0000
commitb85cb21cb161eeb4b8dcd8d0401e1e0faa38c921 (patch)
tree00e026d805a6b10d18e10957fd71bc0d43c3723f /src/gui_gtk_f.c
parent2c4278fc738cca3fcd70cffd7ddc865ea9783694 (diff)
downloadvim-git-b85cb21cb161eeb4b8dcd8d0401e1e0faa38c921.tar.gz
updated for version 7.2-181v7.2.181
Diffstat (limited to 'src/gui_gtk_f.c')
-rw-r--r--src/gui_gtk_f.c32
1 files changed, 14 insertions, 18 deletions
diff --git a/src/gui_gtk_f.c b/src/gui_gtk_f.c
index a19d69a12..23a9417d7 100644
--- a/src/gui_gtk_f.c
+++ b/src/gui_gtk_f.c
@@ -227,14 +227,13 @@ gtk_form_get_type(void)
if (!form_type)
{
- GtkTypeInfo form_info =
- {
- "GtkForm",
- sizeof(GtkForm),
- sizeof(GtkFormClass),
- (GtkClassInitFunc) gtk_form_class_init,
- (GtkObjectInitFunc) gtk_form_init
- };
+ GtkTypeInfo form_info;
+
+ form_info.type_name = "GtkForm";
+ form_info.object_size = sizeof(GtkForm);
+ form_info.class_size = sizeof(GtkFormClass);
+ form_info.class_init_func = (GtkClassInitFunc)gtk_form_class_init;
+ form_info.object_init_func = (GtkObjectInitFunc)gtk_form_init;
form_type = gtk_type_unique(GTK_TYPE_CONTAINER, &form_info);
}
@@ -611,10 +610,9 @@ gtk_form_remove(GtkContainer *container, GtkWidget *widget)
}
}
-/*ARGSUSED1*/
static void
gtk_form_forall(GtkContainer *container,
- gboolean include_internals,
+ gboolean include_internals UNUSED,
GtkCallback callback,
gpointer callback_data)
{
@@ -786,9 +784,8 @@ gtk_form_position_children(GtkForm *form)
* them or discards them, depending on whether we are obscured
* or not.
*/
-/*ARGSUSED1*/
static GdkFilterReturn
-gtk_form_filter(GdkXEvent *gdk_xevent, GdkEvent *event, gpointer data)
+gtk_form_filter(GdkXEvent *gdk_xevent, GdkEvent *event UNUSED, gpointer data)
{
XEvent *xevent;
GtkForm *form;
@@ -821,9 +818,10 @@ gtk_form_filter(GdkXEvent *gdk_xevent, GdkEvent *event, gpointer data)
* there is no corresponding event in GTK, so we have
* to get the events from a filter
*/
-/*ARGSUSED1*/
static GdkFilterReturn
-gtk_form_main_filter(GdkXEvent *gdk_xevent, GdkEvent *event, gpointer data)
+gtk_form_main_filter(GdkXEvent *gdk_xevent,
+ GdkEvent *event UNUSED,
+ gpointer data)
{
XEvent *xevent;
GtkForm *form;
@@ -911,9 +909,8 @@ gtk_form_send_configure(GtkForm *form)
#endif
}
-/*ARGSUSED0*/
static void
-gtk_form_child_map(GtkWidget *widget, gpointer user_data)
+gtk_form_child_map(GtkWidget *widget UNUSED, gpointer user_data)
{
GtkFormChild *child;
@@ -923,9 +920,8 @@ gtk_form_child_map(GtkWidget *widget, gpointer user_data)
gdk_window_show(child->window);
}
-/*ARGSUSED0*/
static void
-gtk_form_child_unmap(GtkWidget *widget, gpointer user_data)
+gtk_form_child_unmap(GtkWidget *widget UNUSED, gpointer user_data)
{
GtkFormChild *child;