Commit 6560be3b authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Fix macro declaration

2006-02-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextiter.c: Fix macro declaration

	* gtk/gtkaboutdialog.c: Remove an accidentally included function.
parent e68767fb
2006-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c: Fix macro declaration
* gtk/gtkaboutdialog.c: Remove an accidentally included function.
2006-02-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c:
......
2006-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c: Fix macro declaration
* gtk/gtkaboutdialog.c: Remove an accidentally included function.
2006-02-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c:
......
......@@ -127,7 +127,6 @@ static void gtk_about_dialog_set_property (GObject
GParamSpec *pspec);
static void gtk_about_dialog_style_set (GtkWidget *widget,
GtkStyle *previous_style);
static void gtk_about_dialog_close (GtkDialog *dialog);
static void dialog_style_set (GtkWidget *widget,
GtkStyle *previous_style,
gpointer data);
......@@ -723,24 +722,6 @@ gtk_about_dialog_style_set (GtkWidget *widget,
dialog_style_set (widget, previous_style, NULL);
}
static void
gtk_about_dialog_close (GtkDialog *dialog)
{
/* Synthesize delete_event to close dialog. */
GtkWidget *widget = GTK_WIDGET (dialog);
GdkEvent *event;
event = gdk_event_new (GDK_DELETE);
event->any.window = g_object_ref (widget->window);
event->any.send_event = TRUE;
gtk_main_do_event (event);
gdk_event_free (event);
}
/**
* gtk_about_dialog_get_name:
* @about: a #GtkAboutDialog
......
......@@ -395,7 +395,7 @@ check_invariants (const GtkTextIter *iter)
_gtk_text_iter_check (iter);
}
#else
#define check_invariants (x)
#define check_invariants(x)
#endif
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment