+Fri Feb 1 08:57:38 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmain.c (gtk_exit_func): Remove this useless
+ atexit handler. (existance pointed out by Stefan Kost)
+
+ * gtk/gtkmain.c (gtk_init_check): Warning fixes.
+
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
+Fri Feb 1 08:57:38 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmain.c (gtk_exit_func): Remove this useless
+ atexit handler. (existance pointed out by Stefan Kost)
+
+ * gtk/gtkmain.c (gtk_init_check): Warning fixes.
+
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
+Fri Feb 1 08:57:38 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmain.c (gtk_exit_func): Remove this useless
+ atexit handler. (existance pointed out by Stefan Kost)
+
+ * gtk/gtkmain.c (gtk_init_check): Warning fixes.
+
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
+Fri Feb 1 08:57:38 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmain.c (gtk_exit_func): Remove this useless
+ atexit handler. (existance pointed out by Stefan Kost)
+
+ * gtk/gtkmain.c (gtk_init_check): Warning fixes.
+
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
+Fri Feb 1 08:57:38 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmain.c (gtk_exit_func): Remove this useless
+ atexit handler. (existance pointed out by Stefan Kost)
+
+ * gtk/gtkmain.c (gtk_init_check): Warning fixes.
+
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
+Fri Feb 1 08:57:38 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmain.c (gtk_exit_func): Remove this useless
+ atexit handler. (existance pointed out by Stefan Kost)
+
+ * gtk/gtkmain.c (gtk_init_check): Warning fixes.
+
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
+Fri Feb 1 08:57:38 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmain.c (gtk_exit_func): Remove this useless
+ atexit handler. (existance pointed out by Stefan Kost)
+
+ * gtk/gtkmain.c (gtk_init_check): Warning fixes.
+
Thu Jan 31 18:46:10 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_reference_free): unref the
guint id;
};
-static void gtk_exit_func (void);
static gint gtk_quit_invoke_function (GtkQuitFunction *quitf);
static void gtk_quit_destroy (GtkQuitFunction *quitf);
static gint gtk_invoke_key_snoopers (GtkWidget *grab_widget,
GString *gtk_modules_string = NULL;
GSList *gtk_modules = NULL;
GSList *slist;
- gchar *env_string;
+ const gchar *env_string;
if (gtk_initialized)
return TRUE;
_gtk_accel_map_init ();
_gtk_rc_init ();
- /* Register an exit function to make sure we are able to cleanup.
- */
- g_atexit (gtk_exit_func);
-
/* Set the 'initialized' flag.
*/
gtk_initialized = TRUE;
{
/* Only if "gtk" has been initialized should we de-initialize.
*/
- /* de-initialisation is done by the gtk_exit_funct(),
- * no need to do this here (Alex J.)
- */
gdk_exit (errorcode);
}
return widget;
}
-static void
-gtk_exit_func (void)
-{
- if (gtk_initialized)
- {
- gtk_initialized = FALSE;
- }
-}
-
-
static gint
gtk_quit_invoke_function (GtkQuitFunction *quitf)
{