updates for 1.3.7 release.

Tue Sep  4 01:50:24 2001  Tim Janik  <timj@gtk.org>

        * NEWS: updates for 1.3.7 release.

Tue Sep  4 01:49:18 2001  Tim Janik  <timj@gtk.org>

        * gsourceclosure.c: make closure_callback_funcs static,
        added some g_return_if_fail() statements.
This commit is contained in:
Tim Janik 2001-09-03 23:46:04 +00:00 committed by Tim Janik
parent 0038581ed4
commit 267ff610fe
14 changed files with 63 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Tue Sep 4 01:50:24 2001 Tim Janik <timj@gtk.org>
* NEWS: updates for 1.3.7 release.
Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com>
* glib/gmain.h: Add closure_marshal/closure_callback

View File

@ -1,3 +1,7 @@
Tue Sep 4 01:50:24 2001 Tim Janik <timj@gtk.org>
* NEWS: updates for 1.3.7 release.
Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com>
* glib/gmain.h: Add closure_marshal/closure_callback

View File

@ -1,3 +1,7 @@
Tue Sep 4 01:50:24 2001 Tim Janik <timj@gtk.org>
* NEWS: updates for 1.3.7 release.
Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com>
* glib/gmain.h: Add closure_marshal/closure_callback

View File

@ -1,3 +1,7 @@
Tue Sep 4 01:50:24 2001 Tim Janik <timj@gtk.org>
* NEWS: updates for 1.3.7 release.
Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com>
* glib/gmain.h: Add closure_marshal/closure_callback

View File

@ -1,3 +1,7 @@
Tue Sep 4 01:50:24 2001 Tim Janik <timj@gtk.org>
* NEWS: updates for 1.3.7 release.
Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com>
* glib/gmain.h: Add closure_marshal/closure_callback

View File

@ -1,3 +1,7 @@
Tue Sep 4 01:50:24 2001 Tim Janik <timj@gtk.org>
* NEWS: updates for 1.3.7 release.
Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com>
* glib/gmain.h: Add closure_marshal/closure_callback

View File

@ -1,3 +1,7 @@
Tue Sep 4 01:50:24 2001 Tim Janik <timj@gtk.org>
* NEWS: updates for 1.3.7 release.
Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com>
* glib/gmain.h: Add closure_marshal/closure_callback

View File

@ -1,3 +1,7 @@
Tue Sep 4 01:50:24 2001 Tim Janik <timj@gtk.org>
* NEWS: updates for 1.3.7 release.
Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com>
* glib/gmain.h: Add closure_marshal/closure_callback

18
NEWS
View File

@ -1,3 +1,21 @@
Overview of Changes in GLib 1.3.7:
* Integrate GClosure support into the main loop
* More GSignal convenience functions (macros)
* Introduced weak references for GObject
* Minor hash table optimizations
* Main loop and threading improvements
* Added g_ascii_* functions to be used for locale insensitive UTF8
compliant code instead of old string functions
* Overall fixes for UTF8 compliance
* GString improvements
* Reworked the GIOChannel code
* Removed glib-config-2.0 in favour of pkgconfig
* Make code 64bit clean
* More G_CONST_RETURN fixes
* Many improvements to the win32 code
* Miscellaneous bug and API fixes
Overview of Changes in GLib 1.3.6:
* Threads have a "return value" from g_thread_join

View File

@ -147,4 +147,7 @@ error domains.
@G_CONVERT_ERROR_ILLEGAL_SEQUENCE:
@G_CONVERT_ERROR_FAILED:
@G_CONVERT_ERROR_PARTIAL_INPUT:
@G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI:
@G_CONVERT_ERROR_INVALID_URI:
@G_CONVERT_ERROR_NOT_ABSOLUTE_PATH:

View File

@ -1092,6 +1092,7 @@ a #GStaticMutex.
@write_cond:
@read_counter:
@write:
@want_to_read:
@want_to_write:
<!-- ##### MACRO G_STATIC_RW_LOCK_INIT ##### -->

View File

@ -31,8 +31,6 @@
* MT safe
*/
#define __gscanner_c__
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

View File

@ -1,3 +1,8 @@
Tue Sep 4 01:49:18 2001 Tim Janik <timj@gtk.org>
* gsourceclosure.c: make closure_callback_funcs static,
added some g_return_if_fail() statements.
Mon Aug 27 14:55:27 2001 Owen Taylor <otaylor@redhat.com>
* gsourceclosure.[ch] (g_source_set_closure): Implement.

View File

@ -150,7 +150,7 @@ closure_callback_get (gpointer cb_data,
*data = cb_data;
}
GSourceCallbackFuncs closure_callback_funcs = {
static GSourceCallbackFuncs closure_callback_funcs = {
(void (*) (gpointer)) g_closure_ref,
(void (*) (gpointer)) g_closure_unref,
closure_callback_get
@ -171,6 +171,9 @@ void
g_source_set_closure (GSource *source,
GClosure *closure)
{
g_return_if_fail (source != NULL);
g_return_if_fail (closure != NULL);
if (!source->source_funcs->closure_callback &&
source->source_funcs != &g_io_watch_funcs &&
source->source_funcs != &g_timeout_funcs &&