1. 19 Nov, 2001 8 commits
  2. 18 Nov, 2001 9 commits
    • Owen Taylor's avatar
      Make a NO_WINDOW widget, as it should have been since the beginning, but · 3432dff2
      Owen Taylor authored
      Sun Nov 18 18:18:11 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfixed.c: Make a NO_WINDOW widget, as it should
      	have been since the beginning, but as special hack,
      	allow clearing the NO_WINDOW flag to get a window widget.
      3432dff2
    • Kristian Rietveld's avatar
      return TRUE when value changed, so row_changed is being emitted · 3828d025
      Kristian Rietveld authored
      Sun Nov 18 22:01:36  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreestore.c: return TRUE when value changed, so
              row_changed is being emitted
      3828d025
    • Hans Breuer's avatar
      make it compile with msvc: !HAVE_UNISTD_H; no label without op, even if · d9eb9ba9
      Hans Breuer authored
      2001-11-18  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gdkaccelmap.c : make it compile with msvc: !HAVE_UNISTD_H;
      	no label without op, even if it's a no-op.
      
      	* gtk/gtk.def :
      	* gtk/makefile.msc.in : reflect marshaler split, some clean-up
      
      	* config.h.win32.in : remove definition of HAVE_DIRENT_H
      	* gtk/gtkfilesel.c : due to GDir (new in glib) DIR isn't
      	required anymore, replace it.
      	* gtk/queryimmodules.c : DIR -> GDir replacement, also
      	getcwd() -> g_get_current_dir()
      
      	* gdk/win32/gdkgeometry-win32.c : adapt to refactored gdkgeometry-x11.c
      	Even 'noisy laugh' scolling appears to work, though I still can't
      	claim to have fully understood what it is supposed to do ...
      d9eb9ba9
    • Hans Breuer's avatar
      use g_strcasecmp(), some poor platforms don't have strcasecmp() · cdc4f6a4
      Hans Breuer authored
      2001-11-18  Hans Breuer  <hans@breuer.org>
      
      	* io-xpm.c : use g_strcasecmp(), some poor platforms
      	don't have strcasecmp()
      
      	* makefile.msc : do INCLUDE_png etc. definition here to avoid
      	my temporary 'gdk-pixbuf-io-include.h' hack
      cdc4f6a4
    • Owen Taylor's avatar
      Remove include of gobject/signal.h. · e913a97b
      Owen Taylor authored
      Sun Nov 18 07:54:22 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-pixbuf-loader.c: Remove include of gobject/signal.h.
      e913a97b
    • Owen Taylor's avatar
      Include glib-object.h instead of gobject/gsignal.h · 86dbeabc
      Owen Taylor authored
      Sat Nov 17 21:07:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkenums.h: Include glib-object.h instead of
      	gobject/gsignal.h
      
      	* gdk/{gdkinternals.h,gdkwindow.c,gdkwindow.[ch],
      	  x11,{fb,win32,x11/gdkwindow-*.c}: Add a dummy GdkScreen
      	argument to the window_at_pointer() field of
      	GdkPointerHooks. (Patch from Erwann Chenede)
      
      	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Up
      	to 6 pointers.
      86dbeabc
    • Matt Wilson's avatar
      must include glib-object.h only · 1419815e
      Matt Wilson authored
      2001-11-17  Matt Wilson  <msw@redhat.com>
      
      	* gtk/gtkenums.h: must include glib-object.h only
      1419815e
    • Owen Taylor's avatar
      Reprioritize key bindings in order of visibility - mnemonics, then · adca28f8
      Owen Taylor authored
      Sat Nov 17 19:26:20 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_key_press_event): Reprioritize
      	key bindings in order of visibility - mnemonics, then
      	accelerators, then send key to the focus widget, then
      	bindings on the GtkWindow.
      
      	* gtk/gtklayout.h docs/Changes-2.0.txt tests/testgtk.c:
      	Removed the xoffset, yoffset fields of GtkLayout which were
      	identically zero for compat with 1.2, but were no longer
      	compatible with	all uses of these fields in 1.2.
      
      	* gtk/gtkwindow.c (gtk_window_set_default): Remove
      	unused variable.
      adca28f8
    • Owen Taylor's avatar
      We no longer need to create the signals here ... they come from the · 3f376d75
      Owen Taylor authored
      Sat Nov 17 19:08:13 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* tests/testtreeview.c (gtk_tree_model_types_get_type):
      	We no longer need to create the signals here ... they
      	come from the interface.
      
      	* gtk/maketypes.awk: Use GType, not GtkType in output.
      
      	* gtk/gtktypeutils.h: Mark virtually all of this
      	file deprecated.
      
      	* gtk/gtkcontainer.h: Deprecate gtk_container_foreach_full;
      	the only use of this function is the GtkArg using
      	GtkCallbackMarshal, since destroy notification is
      	silly here.
      3f376d75
  3. 17 Nov, 2001 5 commits
    • Owen Taylor's avatar
      Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; · a036c6e5
      Owen Taylor authored
      Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
      	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
      	only for compatibility with GTK+-1.2; and deprecate it;
      	put all marshalers we actually use into gtkmarshalers.list
      	and use the _gtk_marshal_ prefix for these marshalers.
      a036c6e5
    • Murray Cumming's avatar
      gtk/gtktexttagtable.c (gtk_text_tag_table_class_init): · 3a346802
      Murray Cumming authored
      The first parameters of the signals are now registered as GTK_TYPE_TEXT_TAG instead of G_TYPE_OBJECT.
      3a346802
    • Tor Lillqvist's avatar
      Build separate runtime and developer packages. · 6eace48c
      Tor Lillqvist authored
      2001-11-17  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: Build separate runtime and developer
      	packages.
      
      	* gtk/gtk.def: Reflect recent accelerator-related changes.
      6eace48c
    • Owen Taylor's avatar
      Move notification of "has_default" to here, so it is safe to call · 61b2f259
      Owen Taylor authored
      Fri Nov 16 19:44:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_set_default): Move
      	notification of "has_default" to here, so it
      	is safe to call gtk_window_set_default() instead
      	of gtk_widget_grab_default().
      
      	* gtk/gtkwindow.c (gtk_window_set_focus): Make it call
      	gtk_widget_grab_focus(), which then calls
      	_gtk_widget_internal_set_focus(). This makes
      	gtk_window_set_focus() a safe way of both setting
      	and unsetting the focus widget.
      
      	* gtk/gtkwidget.c (gtk_widget_propagate_state): Use
      	gtk_widget_get_toplevel(), instead of gtk_widget_ancestor
      	to find the toplevel.
      
      	* gtk/gtkwindow.h: Move gtk_window_set_focus/default
      	from the "internal functions" section.
      61b2f259
    • Matthias Clasen's avatar
      Updates. · f2d5aec4
      Matthias Clasen authored
              * gdk/tmpl/event_structs.sgml: Updates.
      
              * gdk/tmpl/windows.sgml: Document GdkFilterFunction, GdkFilterReturn
              and GdkXEvent, add markup.
      f2d5aec4
  4. 16 Nov, 2001 9 commits
  5. 15 Nov, 2001 7 commits
    • Jonathan Blandford's avatar
      maybe fix #64160 Also, forgot to save gtktreeview.h · 16049019
      Jonathan Blandford authored
      Thu Nov 15 18:44:33 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_free): maybe fix #64160
      Also, forgot to save gtktreeview.h
      16049019
    • Matthias Clasen's avatar
      Move '.' out of quote. (#64407) · cea7df47
      Matthias Clasen authored
              * gtk/gtkwindow.c (gtk_window_new): Move '.' out of quote. (#64407)
      cea7df47
    • Jonathan Blandford's avatar
      New function to get a GdkWindow to compare event->window to. · 2fdf3018
      Jonathan Blandford authored
      Thu Nov 15 16:24:55 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_bin_window): New function
      	to get a GdkWindow to compare event->window to.
      
      	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): emit
      	the signal for lateral motion too, #64361
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): remove window
      	arg as it is useless, #64137
      2fdf3018
    • Owen Taylor's avatar
      Some small drawing fixes for scroll arrows. · 91a34f5d
      Owen Taylor authored
      Thu Nov 15 16:07:42 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtknotebook.c: Some small drawing fixes for scroll arrows.
      91a34f5d
    • Owen Taylor's avatar
      Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann) · b27345fe
      Owen Taylor authored
      Thu Nov 15 14:19:34 2001  Owen Taylor  <otaylor@redhat.com>
      
       	* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
       	gdk_window_invalidate_maybe_recurse() for recursion.
       	(Soeren Sandmann)
      
       	* gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)
      
      	* gtk/gtkcontainer.c (gtk_container_expose): Call
      	gtk_container_forall() not _foreach() to propagate,
      	since we need to propagate exposes to internal children
      	as well.
      
      	* gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events):
      	Remove the restriction of only being able to call these
      	on window widgets, since we have lots of NO_WINDOW widgets
      	with windows now; for add events, recurse over the children
      	of widget->window to find one owned by the widget.
      
      	* gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
      	window to catch events.
      
      	* gtk/gtktogglebutton.[ch]: Remove the code for switching
      	between NO_WINDOW and WINDOW widgets based on the mode.
      
      	* gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
      	gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.
      
      	* gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.
      
      	* gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
      	change for range.
      
      	* gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.
      
      	* docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.
      b27345fe
    • Matthias Clasen's avatar
      Go back to DocBook 3.0 to get the autobuilder on developer.gnome.org back · 41f14d35
      Matthias Clasen authored
              * gtk/gtk-docs.sgml: Go back to DocBook 3.0 to get the
              autobuilder on developer.gnome.org back to work, but add
              the png notation for the stock icons.
      41f14d35
    • Owen Taylor's avatar
      Patch from Murray Cumming to add "message_type" and "buttons" CONSTRUCT · 701df64d
      Owen Taylor authored
      Thu Nov 15 11:59:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmessagedialog.c: Patch from Murray Cumming to add
      	"message_type" and "buttons" CONSTRUCT properties. (#64069)
      
      	* tests/testsocket.c: Expand tests to add a "local passive
      	child" (Test case for #64428)
      701df64d
  6. 14 Nov, 2001 2 commits