]> Pileus Git - ~andy/gtk/commitdiff
Remove deprecated gdk_exit() function
authorJavier Jardón <jjardon@gnome.org>
Wed, 12 May 2010 01:41:45 +0000 (03:41 +0200)
committerJavier Jardón <jjardon@gnome.org>
Wed, 12 May 2010 01:44:07 +0000 (03:44 +0200)
docs/reference/gdk/gdk3-sections.txt
docs/reference/gdk/tmpl/general.sgml
gdk/gdk.c
gdk/gdk.h
gdk/gdk.symbols

index b25cebaa9fb1615df02fe60fcb3b8798a9ea2a4a..065a670e4a5446045805f9a8f0c604e5b406c023 100644 (file)
@@ -10,7 +10,6 @@ gdk_parse_args
 gdk_get_display_arg_name
 gdk_set_locale
 gdk_set_sm_client_id
-gdk_exit
 gdk_notify_startup_complete
 gdk_notify_startup_complete_with_id
 
index eaaf818ab850daa366bf180ccdb1b3b44a57b06d..40dd4b6ec60515b5afbd5086effe75d1a780b3df 100644 (file)
@@ -109,20 +109,6 @@ locale.
 @sm_client_id: 
 
 
-<!-- ##### FUNCTION gdk_exit ##### -->
-<para>
-Exits the application using the <function>exit()</function> system call.
-</para>
-<para>
-This routine is provided mainly for backwards compatibility, since it used to
-perform tasks necessary to exit the application cleanly. Those tasks are now
-performed in a function which is automatically called on exit (via the use
-of g_atexit()).
-</para>
-
-@error_code: the error code to pass to the <function>exit()</function> call.
-
-
 <!-- ##### FUNCTION gdk_notify_startup_complete ##### -->
 <para>
 
index 110d662dc73287d44fae7a4c64bfb76ade7dcefe..8fe3c450d39805b54c04e5be5cbc91a5d178aa09 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -386,31 +386,6 @@ gdk_init (int *argc, char ***argv)
     }
 }
 
-/*
- *--------------------------------------------------------------
- * gdk_exit
- *
- *   Restores the library to an un-itialized state and exits
- *   the program using the "exit" system call.
- *
- * Arguments:
- *   "errorcode" is the error value to pass to "exit".
- *
- * Results:
- *   Allocated structures are freed and the program exits
- *   cleanly.
- *
- * Side effects:
- *
- *--------------------------------------------------------------
- */
-
-void
-gdk_exit (gint errorcode)
-{
-  exit (errorcode);
-}
-
 void
 gdk_threads_enter (void)
 {
index d834bb16221bd8ba338259fa425dc45592936407..219298e2cefa7405baca8a5ba5e41968ed1a511e 100644 (file)
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -75,9 +75,6 @@ gboolean  gdk_init_check              (gint           *argc,
 void gdk_add_option_entries_libgtk_only (GOptionGroup *group);
 void gdk_pre_parse_libgtk_only          (void);
 
-#ifndef GDK_DISABLE_DEPRECATED
-void     gdk_exit                      (gint            error_code);
-#endif /* GDK_DISABLE_DEPRECATED */
 gchar*   gdk_set_locale                (void);
 
 G_CONST_RETURN char *gdk_get_program_class (void);
index b95fe78b318c84a0ec1511e2ec3a89c3f3123a47..992d2760334835f3d6a1bc86aba2cf3bcb54ee7e 100644 (file)
@@ -132,9 +132,6 @@ gdk_get_display_arg_name
 gdk_get_program_class
 gdk_init
 gdk_init_check
-#ifndef GDK_DISABLE_DEPRECATED
-gdk_exit
-#endif
 gdk_pre_parse_libgtk_only
 gdk_parse_args
 gdk_set_program_class