return silently if "gtk_initialized" is TRUE. Re-enables calling GTK's
2005-05-02 Michael Natterer <mitch@imendio.com> * gtk/gtkmain.c (do_post_parse_initialization): return silently if "gtk_initialized" is TRUE. Re-enables calling GTK's init functions multiple times when using gtk_get_option_group(), just as one can call gtk_init() multiple times without doing any harm.
This commit is contained in:
committed by
Michael Natterer
parent
1fc3cc3e79
commit
490bbe0214
@ -1,3 +1,10 @@
|
|||||||
|
2005-05-02 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (do_post_parse_initialization): return silently if
|
||||||
|
"gtk_initialized" is TRUE. Re-enables calling GTK's init functions
|
||||||
|
multiple times when using gtk_get_option_group(), just as one can
|
||||||
|
call gtk_init() multiple times without doing any harm.
|
||||||
|
|
||||||
2005-05-01 Matthias Clasen <mclasen@redhat.com>
|
2005-05-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
|
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
|
2005-05-02 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (do_post_parse_initialization): return silently if
|
||||||
|
"gtk_initialized" is TRUE. Re-enables calling GTK's init functions
|
||||||
|
multiple times when using gtk_get_option_group(), just as one can
|
||||||
|
call gtk_init() multiple times without doing any harm.
|
||||||
|
|
||||||
2005-05-01 Matthias Clasen <mclasen@redhat.com>
|
2005-05-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
|
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
|
||||||
|
|||||||
@ -1,3 +1,10 @@
|
|||||||
|
2005-05-02 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
|
* gtk/gtkmain.c (do_post_parse_initialization): return silently if
|
||||||
|
"gtk_initialized" is TRUE. Re-enables calling GTK's init functions
|
||||||
|
multiple times when using gtk_get_option_group(), just as one can
|
||||||
|
call gtk_init() multiple times without doing any harm.
|
||||||
|
|
||||||
2005-05-01 Matthias Clasen <mclasen@redhat.com>
|
2005-05-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
|
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
|
||||||
|
|||||||
@ -452,6 +452,9 @@ static void
|
|||||||
do_post_parse_initialization (int *argc,
|
do_post_parse_initialization (int *argc,
|
||||||
char ***argv)
|
char ***argv)
|
||||||
{
|
{
|
||||||
|
if (gtk_initialized)
|
||||||
|
return;
|
||||||
|
|
||||||
if (g_fatal_warnings)
|
if (g_fatal_warnings)
|
||||||
{
|
{
|
||||||
GLogLevelFlags fatal_mask;
|
GLogLevelFlags fatal_mask;
|
||||||
|
|||||||
Reference in New Issue
Block a user