1. 29 Oct, 2001 8 commits
    • Jonathan Blandford's avatar
      fix reordered signal. · b5ccbdfb
      Jonathan Blandford authored
      Mon Oct 29 13:54:49 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): fix
      	reordered signal.
      b5ccbdfb
    • Owen Taylor's avatar
      Grab the focus to the fileop entry for create dir / rename file. · 326f7715
      Owen Taylor authored
      Mon Oct 29 12:27:51 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfilesel.c (gtk_file_selection_rename_file): Grab
      	the focus to the fileop entry for create dir / rename
      	file.
      326f7715
    • Owen Taylor's avatar
      Don't use AC_CHECK_FILE to check for a file since it always spits warnings · ededbc64
      Owen Taylor authored
      Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Don't use AC_CHECK_FILE to check for a
              file since it always spits warnings about cross compilation,
              use -f instead. It's not like we cross compile properly
              anyways.
      
              * configure.in (gtktargetlib): Move call to AC_PROG_CC
              to suppress autoconf warning.
      
              * acconfig.h: Add some missing #undefs from recent
              Win32 additions.
      ededbc64
    • Owen Taylor's avatar
      Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings) · 1493f6f7
      Owen Taylor authored
      Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* m4macros/gtk-2.0.m4: Don't try to use pkg-config
      	when we didn't find it. (#62944, Eric Lemings)
      
      	* m4macros/gtk-2.0.m4: Fix problem with spaces around =
      	sign in assignment. (#63209, Arkadiusz Miskiewicz)
      1493f6f7
    • Anders Carlsson's avatar
      Calculate the buttons size request before using it. Fixes #61696. · 62adef45
      Anders Carlsson authored
      2001-10-29  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
      	the buttons size request before using it. Fixes #61696.
      62adef45
    • Tor Lillqvist's avatar
      Updates. · 06b4ef65
      Tor Lillqvist authored
      2001-10-29  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Updates.
      
      	* gtk-zip.sh.in: New file, used to build distribution package for
      	Windows.
      
      	* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
      	applicable with GDKVAR.
      
      	* gtk/gtk.def: Update.
      
      	* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
      	gethostname().
      
      	* gtk/gtkmain.c
      	* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
      	entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
      	GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
      	g_win32_get_package_installation_subdirectory() with the actual
      	DLL name saved above. Redefine above directory name macros to call
      	these functions. Remove some ifdefs.
      
      	* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
      	variable for export on Win32) also to the _vars file.
      
      	Changes for autoconfiscated build on Win32, and addition of Win32
      	backend to the related files:
      
      	* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
      	when forming DLL name in some files. Set MS_LIB_AVAILABLE is
      	lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
      	PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
      	win32 target, using pangowin32. Don't use the
      	-export-symbols-regex option on Win32, we use .def files to list
      	exported symbols. Check <winsock.h> (for gethostname() in
      	gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
      	prevent premature m4 expansion.
      
      	* acconfig.h: Add HAVE_WINTAB.
      
      	* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
      	macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
      	MS_LIB_AVAILABLE, build MS import library. Install the import
      	libraries. If HAVE_WINTAB, link with the Wintab library.
      
      	* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
      	macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
      	file. Install import libraries.
      06b4ef65
    • Tor Lillqvist's avatar
      New file, hand-written wrapper for the Wintab library. · a53f14a6
      Tor Lillqvist authored
      2001-10-29  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/libwntab32x.la: New file, hand-written wrapper for the
      	Wintab library.
      
      	* gdk/win32/gdkwin32.h
      	* gdk/win32/gdkprivate-win32.h: Reorganise to match corresponding
      	X11 headers better, and to enable gdkwin32.h to be installed and
      	included from applications, but not the *-win32.h headers.
      
      	* gdk/win32/*.c: Corresponding small changes, simplifications of
      	#includes.
      
      	* gdk/win32/gdkregion-win32.c: Remove.
      
      	* gdk/win32/gdkevents-win32.c (print_event): Add GDK_SETTING.
      
      	* gdk/win32/gdkfont-win32.c
      	* gdk/win32/gdkgeometry-win32.c: Remove unused variables.
      
      	* gdk/win32/gdkproperty-win32.c (gdk_atom_intern): Don't insert
      	GDK_NONE values into hash table.
      
      	Changes for autoconfiscated build on Win32, and addition of Win32
      	backend to the related files:
      
      	* gdk/win32/Makefile.am: Actually enable building the win32
      	objects here, not just list all files in EXTRA_DIST. Link in the
      	compiled resource file from rc/gdk-win32res.lo. If HAVE_WINTAB,
      	copy the Wintab library into the .libs directory.
      
      	* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Don't assume the
      	name of the GDK DLL when fetching the icon. Use the HMODULE saved
      	in gdk_dll_hinstance by DllMain.
      
      	* gdk/win32/rc/Makefile.am: Build gdk-win32res.lo using the
      	build/win32/lt-compile-resource script.
      
      	* gdk/win32/rc/gdk.rc.in
      	* gtk/gtk-win32.rc.in: Use the DLL name that libtool would use.
      a53f14a6
    • Tor Lillqvist's avatar
      Use -no-undefined on Win32. Make libgdk_pixbuf_1_3_la_OBJECTS depend on · 47dc8d4d
      Tor Lillqvist authored
      2001-10-29  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am: Use -no-undefined on Win32. Make
      	libgdk_pixbuf_1_3_la_OBJECTS depend on
      	gdk-pixbuf-marshal.c. Install import libraries.
      
      	* gdk_pixbuf.def: Update.
      
      	* gdk-pixbuf-io.c: (Win32) Use G_WIN32_DLLMAIN_FOR_DLL_NAME, saves
      	the actual DLL name of libgdk_pixbuf.
      	(get_libdir): Use it instead of guessing.
      
      	* io-xbm.c (gdk_pixbuf__xbm_image_begin_load): Use
      	g_file_open_tmp() insread of mkstemp().
      47dc8d4d
  2. 28 Oct, 2001 9 commits
    • Anders Carlsson's avatar
      Fix build. · 2933fbda
      Anders Carlsson authored
      2001-10-29  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkiconfactory.c (get_default_icons): Fix build.
      2933fbda
    • Anders Carlsson's avatar
      Update struct member docs since they're gdouble now instead of gfloat. · 24277526
      Anders Carlsson authored
      2001-10-28  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/tmpl/gtkadjustment.sgml: Update struct member docs
      	since they're gdouble now instead of gfloat. Fixes #55699.
      24277526
    • Hans Breuer's avatar
      static correct-ness, underscore prefixing of library internal functions · 93f12bd6
      Hans Breuer authored
      2001-10-28  Hans Breuer  <hans@breuer.org>
      
      	* gdk/gdk.c gdk/gdkevents.c
      	  gdk/win32/gdkcolor-win32.c gdk/win32/gdkdnd-win32.c
      	  gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
      	  gdk/win32/gdkfont-win32.c gdk/win32/gdkgc-win32.c
      	  gdk/win32/gdkim-win32.c gdk/win32/gdkmain-win32.c
      	  gdk/win32/gdkprivate-win32.h gdk/win32/gdkproperty-win32.c
      	  gdk/win32/gdkselection-win32.c gdk/win32/gdkwin32.h
      	  gdk/win32/gdkwindow-win32.c gdk/win32/gdkwindow-win32.h :
      	static correct-ness, underscore prefixing of library internal
      	functions
      	(applied the undisputed and the win32 part. Of the latter
      	 I'm probably the one who will change it back again, if Owen
      	 decides that the Gdk*Impl types should not be private to Gdk)
      
      	* gdk/gdk.def : added the remaining exported functions
      93f12bd6
    • Matthias Clasen's avatar
      Forgotten file. · a20c8a43
      Matthias Clasen authored
      a20c8a43
    • Matthias Clasen's avatar
      Documentation updates. · c27900c3
      Matthias Clasen authored
              * gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c,
              gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c,
              gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates.
      
              * docs/reference/gtk/tmpl/gtkmenuitem.sgml,
              docs/reference/gtk/tmpl/gtkmenu.sgml,
              docs/reference/gtk/tmpl/gtkmenushell.sgml,
              docs/reference/gtk/tmpl/gtkcontainer.sgml,
              docs/reference/gtk/gtk-sections.txt: Updates.
      c27900c3
    • Anders Carlsson's avatar
      Remove note about coordinates in GdkPoint being 16-bit since they're · 48298c1d
      Anders Carlsson authored
      2001-10-28  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/tmpl/regions.sgml: Remove note about coordinates in GdkPoint
      	being 16-bit since they're 32-bit now. Fixes #62681.
      48298c1d
    • jacob berkman's avatar
      do not call gtk_settings_get_default() here as that requires an X · 96462944
      jacob berkman authored
      2001-10-28  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_class_init): do not call
      	gtk_settings_get_default() here as that requires an X connection
      	(which breaks doc building with no X connection) and is not
      	multihead safe
      	(gtk_color_selection_init): delay palette loading until realize
      	time
      	(gtk_color_selection_realize): load the palette, and initialize
      	the global palette if it hasn't been already
      
      	* gtk/gtkpreview.c (gtk_preview_class_init): don't initialize the
      	visual/cmap fields of klass->info since they are gone
      	(gtk_preview_get_visual): just return gdk_rgb_get_visual ()
      	(gtk_preview_get_cmap): just return gdk_rgb_get_colormap ()
      	(gtk_preview_realize): don't set VISUAL and COLORMAP attributes
      
      	* gtk/gtkpreview.h (struct _GtkPreviewInfo): remove visual and
      	cmap fields
      	(gtk_preview_get_visual):
      	(gtk_preview_get_cmap): mark as deprecated
      
      	* docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo
      	changes
      96462944
    • Owen Taylor's avatar
      un Oct 28 09:15:39 2001 Owen Taylor <otaylor@redhat.com> · 1b6f92f8
      Owen Taylor authored
              * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed
              structure to have GObject not GtkObject as
              parent_instance. (Jeff Franks.)
      1b6f92f8
    • Tor Lillqvist's avatar
  3. 27 Oct, 2001 20 commits
  4. 26 Oct, 2001 3 commits
    • Anders Carlsson's avatar
      Remove a dot in the documentation. Fixes bug #62632. · 16f42cbd
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtksizegroup.c (gtk_size_group_set_mode): Remove
      	a dot in the documentation. Fixes bug #62632.
      
      This has got to be the most useful bug I have ever fixed :)
      16f42cbd
    • Anders Carlsson's avatar
      Ugh, broken pipe. · 2a8aab4f
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkmain-x11.c: Replace int and guint with
      	long and gulong in some places to make the code 64-bit
      	clean.
      	(_gdk_windowing_init_check): Replace gint with gulong.
      	This patch was made by George Lebl and fixes bug #62113.
      2a8aab4f
    • Anders Carlsson's avatar
      Replace int and guint with long and gulong in some places to make the code · dcb9a6e1
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkmain-x11.c: Replace int and guint with
      	long and gulong in some places to make the code 64-bit
      	clean.
      	(_gdk_windowing_init_check): Replace gint with gulong.
      	This patch was made by George Lebl and fixes bug #62113.
      dcb9a6e1