minor cleanups and merges

This commit is contained in:
Tim Janik 1998-05-10 05:19:00 +00:00
parent f75d8b0c23
commit 315affdfcb
5 changed files with 34 additions and 20 deletions

9
NEWS
View File

@ -1,6 +1,13 @@
Overview of Changes in GTK+ 1.1.0:
* Significant speedups to widget creation, destruction and signal emissions
* Significant speedups to widget creation and destruction through caching
colormap and visual queries to the XServer.
* Speedups for type creation and especially gtk_type_is_a() checks.
* Speedups in signal lookup and creation and especaially with signal
emissions.
* Minor speedups with object data allocation and destruction.
* Newly included file gtkfeatures.h which defines compatibility macros to
test for certain API features upon program compilation.
* New widget GtkCTree
* Upgrade to libtool-1.2
* Lots of bug fixes, including one that fixed a major memory leak

5
gtk.m4
View File

@ -61,10 +61,13 @@ int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}

View File

@ -36,17 +36,19 @@ extern "C" {
*/
#define GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS 1-0-1
/* from now on we export the gtk_signal_init() function
/* new macros for checking of class types
*/
#define GTK_HAVE_IS_CLASS 1-1-0
/* export the gtk_signal_init() function
* new gtk_signal_n_emissions*() functions
* "signal-name" is now an alias for "signal_name"
* new gtk_signal_emitv*() interface
*/
#define GTK_HAVE_SIGNAL_INIT 1-1-0
/* we have a new gtk_signal_emitv*() interface
*/
#define GTK_HAVE_SIGNAL_EMITV 1-1-0
/* "signal-name" is now an alias for "signal_name"
*/
#define GTK_HAVE_N_EMISSIONS 1-1-0
#define GTK_HAVE_SIGNAL_LISP_SYNTAX 1-1-0
#define GTK_HAVE_SIGNAL_EMITV 1-1-0

View File

@ -36,17 +36,19 @@ extern "C" {
*/
#define GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS 1-0-1
/* from now on we export the gtk_signal_init() function
/* new macros for checking of class types
*/
#define GTK_HAVE_IS_CLASS 1-1-0
/* export the gtk_signal_init() function
* new gtk_signal_n_emissions*() functions
* "signal-name" is now an alias for "signal_name"
* new gtk_signal_emitv*() interface
*/
#define GTK_HAVE_SIGNAL_INIT 1-1-0
/* we have a new gtk_signal_emitv*() interface
*/
#define GTK_HAVE_SIGNAL_EMITV 1-1-0
/* "signal-name" is now an alias for "signal_name"
*/
#define GTK_HAVE_N_EMISSIONS 1-1-0
#define GTK_HAVE_SIGNAL_LISP_SYNTAX 1-1-0
#define GTK_HAVE_SIGNAL_EMITV 1-1-0

View File

@ -55,10 +55,10 @@ extern "C" {
/* Determines whether `obj' and `klass' are a type of `otype'.
*/
#define GTK_CHECK_TYPE(obj,otype) ( \
GTK_TYPE_IS_A (((GtkObject*) (obj))->klass->type, (otype)) \
gtk_type_is_a (((GtkObject*) (obj))->klass->type, (otype)) \
)
#define GTK_CHECK_CLASS_TYPE(klass,otype) ( \
GTK_TYPE_IS_A (((GtkObjectClass*) (klass))->type, (otype)) \
gtk_type_is_a (((GtkObjectClass*) (klass))->type, (otype)) \
)
/* Macro for casting a pointer to a GtkObject or GtkObjectClass pointer.