mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Don't crash if end_run is not set. (#424168, Matthias Hasselmann)
2007-04-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't crash if end_run is not set. (#424168, Matthias Hasselmann) svn path=/trunk/; revision=17636
This commit is contained in:
parent
75efa95acb
commit
aa3f2a792a
@ -1,3 +1,8 @@
|
||||
2007-04-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
|
||||
crash if end_run is not set. (#424168, Matthias Hasselmann)
|
||||
|
||||
2007-04-25 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
|
||||
|
@ -186,8 +186,9 @@ preview_iface_end_preview (GtkPrintOperationPreview *preview)
|
||||
|
||||
if (op->priv->rloop)
|
||||
g_main_loop_quit (op->priv->rloop);
|
||||
|
||||
op->priv->end_run (op, op->priv->is_sync, TRUE);
|
||||
|
||||
if (op->priv->end_run)
|
||||
op->priv->end_run (op, op->priv->is_sync, TRUE);
|
||||
|
||||
g_signal_emit (op, signals[DONE], 0,
|
||||
GTK_PRINT_OPERATION_RESULT_APPLY);
|
||||
|
Loading…
Reference in New Issue
Block a user