forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
e68767fb9f
commit
6560be3bc8
@ -1,3 +1,9 @@
|
||||
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:
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user