minor cleanups and merges
This commit is contained in:
9
NEWS
9
NEWS
@ -1,6 +1,13 @@
|
|||||||
Overview of Changes in GTK+ 1.1.0:
|
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
|
* New widget GtkCTree
|
||||||
* Upgrade to libtool-1.2
|
* Upgrade to libtool-1.2
|
||||||
* Lots of bug fixes, including one that fixed a major memory leak
|
* Lots of bug fixes, including one that fixed a major memory leak
|
||||||
|
|||||||
5
gtk.m4
5
gtk.m4
@ -61,10 +61,13 @@ int
|
|||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
int major, minor, micro;
|
int major, minor, micro;
|
||||||
|
char *tmp_version;
|
||||||
|
|
||||||
system ("touch conf.gtktest");
|
system ("touch conf.gtktest");
|
||||||
|
|
||||||
if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
|
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||||
|
tmp_version = g_strdup("$min_gtk_version");
|
||||||
|
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||||
printf("%s, bad version string\n", "$min_gtk_version");
|
printf("%s, bad version string\n", "$min_gtk_version");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,17 +36,19 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
#define GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS 1-0-1
|
#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
|
#define GTK_HAVE_SIGNAL_INIT 1-1-0
|
||||||
|
#define GTK_HAVE_N_EMISSIONS 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_SIGNAL_LISP_SYNTAX 1-1-0
|
#define GTK_HAVE_SIGNAL_LISP_SYNTAX 1-1-0
|
||||||
|
#define GTK_HAVE_SIGNAL_EMITV 1-1-0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -36,17 +36,19 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
#define GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS 1-0-1
|
#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
|
#define GTK_HAVE_SIGNAL_INIT 1-1-0
|
||||||
|
#define GTK_HAVE_N_EMISSIONS 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_SIGNAL_LISP_SYNTAX 1-1-0
|
#define GTK_HAVE_SIGNAL_LISP_SYNTAX 1-1-0
|
||||||
|
#define GTK_HAVE_SIGNAL_EMITV 1-1-0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -55,10 +55,10 @@ extern "C" {
|
|||||||
/* Determines whether `obj' and `klass' are a type of `otype'.
|
/* Determines whether `obj' and `klass' are a type of `otype'.
|
||||||
*/
|
*/
|
||||||
#define GTK_CHECK_TYPE(obj,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) ( \
|
#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.
|
/* Macro for casting a pointer to a GtkObject or GtkObjectClass pointer.
|
||||||
|
|||||||
Reference in New Issue
Block a user