1. 10 Dec, 2002 1 commit
  2. 08 Dec, 2002 1 commit
  3. 28 Nov, 2002 1 commit
  4. 20 Nov, 2002 1 commit
    • Manish Singh's avatar
      add -DGTK_DISABLE_DEPRECATED. #undef it at the top of gtktypebuiltins.c. · bc035915
      Manish Singh authored
      Tue Nov 19 17:05:51 2002 Manish Singh  <yosh@gimp.org>
      
      	* gtk/Makefile.am: add -DGTK_DISABLE_DEPRECATED. #undef it at the
      	top of gtktypebuiltins.c.
      
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkpreview.c
      	* gtk/gtksignal.c
      	* gtk/gtktext.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c
      	* gtk/gtktypeutils.c: #undef GTK_DISABLE_DEPRECATED, deprecated widgets
      	and compat code.
      
      	* gtk/gtkcolorsel.c: move gtk_color_selection_set_color implementation
      	to set_color_internal, and use that. The deprecated function now
      	merely wraps it.
      
      	* gtk/gtkfontsel.c: same as above, except with
      	gtk_font_selection_get_font.
      
      	* gtk/gtknotebook.c: same as above, except with
      	gtk_notebook_set_homogeneous, and gtk_notebook_set_tab_{border,
      	hborder,vborder}.
      
      	* gtk/gtkprogressbar.c: same as above, except with
      	gtk_progress_bar_set_{bar_stype,discrete_blocks,activity_step,
      	activity_blocks}.
      
      	* gtk/gtkstyle.c: same as above, except with gtk_style_get_font.
      
      	* gtk/gtkwidget.c: same as above, except with gtk_widget_set_usize.
      
      	* gtk/gtkitemfactory.h: declare compatibility functions for deprecated
      	GtkMenuFactory stuff if GTK_COMPILATION, since they are used
      	internally by the compat code.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	use of deprecated gtk_check_menu_item_set_show_toggle (it is a noop
      	now).
      
      	* gtk/gtkmain.c: replaced deprecated GTK_TYPE_* with G_TYPE_*.
      
      	* gtk/gtkobject.c: replaced various deprecated functions. In set and
      	get_property, use g_object_{set,get}_data with "user_data" instead
      	of gtk_object_{set,get}_user_data.
      
      	* gtk/gtkprogress.h: API declared if GTK_COMPILATION
      
      	* gtk/gtkprogress.c: port get_type to GObject API.
      
      	* gtk/gtktypeutils.h: declare GtkArg stuff and gtk_type_init,
      	if GTK_COMPILATION.
      
      	* gtk/gtkwidget.c: define gtk_widget_queue_clear in terms of
      	gtk_widget_queue_draw instead of the other way around.
      
      	* tests/Makefile.am: define -DGTK_DISABLE_DEPRECATED
      
      	* tests/testgtk.c
      	* tests/testselection.c
      	* tests/testsocket.c: #undef GTK_DISABLE_DEPRECATED, makes use of
      	deprecated stuff.
      bc035915
  5. 13 Nov, 2002 1 commit
    • Matthias Clasen's avatar
      Add a const here. · 050c933b
      Matthias Clasen authored
      	* gtk/theme-bits/decompose-bits.c (do_part): Add a const here.
      
      	* gtk/gtkcolorsel.c:
      	* gtk/gtkimcontextsimple.c:
      	* gtk/gtkstyle.c: Mark constant data as const to give the compiler
      	a chance to put it in a readonly section.  (#75754)
      050c933b
  6. 08 Nov, 2002 1 commit
    • Matthias Clasen's avatar
      Put into #ifdef DO_BLINK to avoid an unused static function. (#97965) · 2d1ce5a4
      Matthias Clasen authored
      	* tests/testtext.c (blink_timeout): Put into #ifdef DO_BLINK to
      	avoid an unused static function.  (#97965)
      
      	* gtk/gtktextiter.c (backward_line_leaving_caches_unmodified):
      	* gtk/gtkstyle.c (radio_aa_bits):
      	(draw_spin_entry_shadow): #if-0-out unused static functions and
      	variables.  (#97965)
      
      	* gtk/gtktextview.c (text_window_get_allocation):
      	* gtk/gtkcolorsel.c (gtk_color_selection_get_palette_size):
      	(gtk_color_selection_get_palette_color):
      	(gtk_color_selection_unset_palette_color): Remove unused static
      	functions.  (#97965)
      
      	* gtk/gtkcolorsel.c
      	(gtk_color_selection_set_change_palette_with_screen_hook): Fix doc
      	comment.
      2d1ce5a4
  7. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · c77265d3
      Manish Singh authored
      Sun Oct 13 12:29:15 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch]
              gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]:
              Deprecation cleanup
      
              * gtk/gtkcolorseldialog.c: make window not resizable (lost
              accidently in the previous cleanup)
      c77265d3
  8. 07 Oct, 2002 3 commits
    • Owen Taylor's avatar
      Free the private data. (#84903, Matthias Clasen) · 6dde472c
      Owen Taylor authored
      Mon Oct  7 18:50:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcolorsel.c (gtk_color_selection_finalize):
              Free the private data. (#84903, Matthias Clasen)
      6dde472c
    • Owen Taylor's avatar
      Use a pixbuf to set the drag icon, combine code to create drag icons · 123d1fb8
      Owen Taylor authored
      Mon Oct  7 16:28:11 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcolorsel.c (palette_drag_begin): Use
              a pixbuf to set the drag icon, combine code
              to create drag icons (Fixes #80092, #80093)
      
              * gtk/gtkcolorsel.c (get_screen_color): Don't warn
              on failure to grab keyboard/mouse. (#80085)
      
              * gtk/gtkcolorsel.c (palette_press): Return FALSE,
              so DND initiation is possible.
      
              * gtk/gtkcolorsel.c (palette_release): Set the color
              from the palette on release, not press.
      
              * tests/testgtk.c (create_color_selection): Use
              gtk_widget_show_all()
      123d1fb8
    • Owen Taylor's avatar
      - Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks, · 253458ec
      Owen Taylor authored
      Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.[ch] gdk/gdkinternals.h
              gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c
              gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:
      
              - Replace GdkPointerHooks with a multihead-safe
                GdkDisplayPointerHooks, leave GdkPointerHooks
                around for singlehead.
              - Add gdk_display_get_pointer() to get the pointer
                location with the screen it is on.
      
              * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
              Change gdk_screen_get_window_at_pointer() to
              gdk_display_get_window_at_pointer().
      
              * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
              tests/testgtk.c: Use gdk_display_get_window_at_pointer(),
              not gdk_screen_get_window_at_pointer().
      
              * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
              safe.
      
              * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
              since it is useful for writing code that doesn't
              know the dcurrent state but needs a clean colormap.
      
              * gtk/gtkrc.c: When loading the settings for a particular
              screen, only reset toplevels on that screen.
      
              * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
              that should have been #ifndef GTK_MULTIHEAD_SAFE.
      253458ec
  9. 27 Sep, 2002 1 commit
  10. 16 Sep, 2002 1 commit
    • Matthias Clasen's avatar
      Stockify color picker icon. (#89880) · 703b02db
      Matthias Clasen authored
      	* gtk/stock-icons/stock_color_picker_25.png:
      	* gtk/stock-icons/Makefile.am (VARIABLES1):
      	* gtk/gtkstock.h (GTK_STOCK_COLOR_PICKER):
      	* gtk/gtkiconfactory.c (get_default_icons):
      	* gtk/gtkcolorsel.c (gtk_color_selection_init): Stockify color
      	picker icon.   (#89880)
      703b02db
  11. 10 Jul, 2002 1 commit
  12. 20 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Renames: · 28c2b0a3
      Owen Taylor authored
      Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
              tests/*.c: Renames:
      
               gdk_get_default_display => gdk_display_get_default
               gdk_get_default_screen  => gdk_screen_get_default
               gdk_open_display        => gdk_display_open
      28c2b0a3
  13. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  14. 26 Feb, 2002 1 commit
  15. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. · a504db9e
      Owen Taylor authored
      Fri Feb 22 18:36:45 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann,
      	#72182.
      
      	* demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c
      	gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c
      	gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h:
      	Squash trailing commas on enumerations.
      
      	* gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead
      	of 1 << 31 to work around AIX compiler problem. (C standard
      	seems to imply that compiler is required to use an unsigned
      	type for the enum value in this case.)
      
      	* gdk/gdkpixbuf-drawable.c: Fix lvalue casts.
      
      	* gtk/gtkwindow.h: Fix use of enum types for bitfields ...
      	compilers may choose to use a signed type for bitfields.
      a504db9e
  16. 20 Feb, 2002 1 commit
  17. 16 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Add key bindings on GtkScrolledWindow for arrow keys, PageUp/PageDown · 59fc8ff8
      Owen Taylor authored
      Fri Feb 15 20:09:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkscrolledwindow.[ch] gtk/gtkmarshallers.list:
              Add key bindings on GtkScrolledWindow for arrow keys,
              PageUp/PageDown Home/End to scroll the window.
              Bind Control-[Shift]-Tab to focus out of the scrolled
              window entirely. Allow the scrolled window to be
              focused if no child can be focused. (#63480)
      
              * gtk/gtkwidget.c (gtk_widget_hide): Remove the REALIZED()
              check - if we have visible but not mapped widgets
              (inside a unshown notebook tab, for instance), we need
              to track their size. (#65087, reported by Damon Chaplin.)
      
              * gtk/gtkcolorsel.c (palette_change_color): Shut up
              a warning.
      59fc8ff8
  18. 07 Feb, 2002 1 commit
    • Padraig O'Briain's avatar
      Change popup_menu signal to return gboolean instead of void. This allows · 5bc23500
      Padraig O'Briain authored
      * gtk/gtkwidget.[ch]:
      Change popup_menu signal to return gboolean instead of void. This
      allows the keypress which invokes the signal to be propagated to the
      focus widgets ancestors if not handled by the focus widget.
      
      * gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtktextview.c:
      Change signature of popup_menu signal handler to return gboolean
      instead of void and return TRUE in the signal handler
      5bc23500
  19. 17 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Mark children as composite. (#66360) · 77c28630
      Matthias Clasen authored
              * gtk/gtkcolorsel.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c:
              Mark children as composite. (#66360)
      
              * gtk/gtkwidget.c (gtk_widget_push_composite_child): Explain
              composite children some more. (#66360)
      77c28630
  20. 03 Jan, 2002 1 commit
    • Anders Carlsson's avatar
      Free dash list if necessary. · a11baab1
      Anders Carlsson authored
      2002-01-03  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if
      	necessary.
      
      	* gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list.
      
      	* gtk/gtkcolorsel.c (get_focus_gc): Free dash list.
      
      	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask
      	if it's NULL.
      a11baab1
  21. 06 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Fix docs. (#66383) · 31df9723
      Matthias Clasen authored
              * gtk/gtklabel.c: Fix docs. (#66383)
      
              * gtk/gtkbbox.c (gtk_button_box_set_child_secondary): Fix docs.
              (#66278, #66280)
      
              * gdk/gdkwindow.h (gdk_window_get_deskrelative_origin),
              gdk/gdkimage.h (gdk_image_get): Deprecate. (#66208)
      
              * gtk/gtkcolorsel.c (gtk_color_selection_set_update_policy):
              Don't emit a g_warning() about being deprecated. (#66208)
      
              * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_widget): Add docs.
      
              * gtk/gtkcontainer.c: Doc fixes.
      
              * gtk/gtkliststore.c (gtk_list_store_clear): Add docs; misc doc fixes.
      
              * gtk/gtkstyle.c (gtk_style_attach): Add docs.
      
              * gdk-pixbuf.h (gdk_pixbuf_ref, gdk_pixbuf_unref,
              gdk_pixbuf_animation_ref, gdk_pixbuf_animation_unref):
              Deprecate. (#66208)
      
              * gtk/tmpl/gtklabel.sgml: Remove redundant docs. (#66383)
      
              * gtk/tree_widget.sgml: Typo fix. (#66256)
      
              * gdk-pixbuf/Makefile.am (SCAN_OPTIONS): Add --deprecated-guards.
      
              * gtk/tmpl/gtktext.sgml, gtk/tmpl/gtktree.sgml,
              gtk/tmpl/gtktreeitem.sgml: Updates.
      31df9723
  22. 04 Dec, 2001 2 commits
    • Owen Taylor's avatar
      Ref and sink priv->tooltips in init() and unref priv->tooltips in destroy · feca5a64
      Owen Taylor authored
      Tue Dec  4 12:06:13 2001  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkcolorsel.c: Ref and sink priv->tooltips in
      	init() and unref priv->tooltips in destroy rather
      	than calling gtk_object_destroy() which has no
      	effect on memory management. (#66104, HideToshi
      	Tajima)
      	* gtk/gtkcolorsel.c (palette_set_color): Use g_object_set_data_full()
      	so we free the when the object is freed. (Fixes memory
      	leak, #66096, HideToshi Tajima)
      	* gdk/gdkevents.c (gdk_synthesize_window_state): Use
      	a full GdkEvent structure to avoid reads of uninitialized/
      	invalid memory in gdk_event_put() (#65877, patch
      	from Hidetoshi Tajima)
      feca5a64
    • Owen Taylor's avatar
      Patch from Bill Haneman (with many modifications) to make the focus color · 7537825b
      Owen Taylor authored
      Mon Dec  3 16:39:17 2001  Owen Taylor  <otaylor@redhat.com>
      
      	Patch from Bill Haneman (with many modifications) to make
      	the focus color work on dark themes and to make the
      	focus line width configurable. (#61079, #63074)
      
              * gtk/gtkwidget.c: Add style properties,
      	::focus-widget, ::focus-line-width, and ::focus-padding.
      
      	* gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a
      	state argument as well so we can use fg[STATE] to
      	draw instead of always drawing with black.
      	Cange paint_focus() to respect GtkWidget::focus-width
      	and GtkWidget::focus-line-pattern. Fix continuity
      	problem where the default 1-1 stipple had a blob
      	in one corner and a gap in the other. Change the
      	interpretation of x/y/width/height to be the bounding
      	box of the focus rect instead of the rectangle
      	passed to gdk_draw_rectangle.
      
      	* gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c
      	gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c
      	gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width
      	and ::focus-line-padding.
      
      	* gtk/gtkentry.c: Handle :;focus-width property; cleanup
      	and remove duplicated code; fix drawing of focus rectangle
      	when interior-focus = FALSE. (#63072, #63073)
      
      	* gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c
      	gtk/gtktreeviewcolumn.c: Basic fixups to make compile;
      	Range and TreeViewColumn will need more extensive fixing.
      
      	* gtk/gtkcolorsel.c: Honor focus line attributes when
      	drawing the focus on the color swatches. (#63071)
      
      	* gtk/gtkhsv.c: Honor focus line attributes when
      	drawing the focus for the ring and triangle.
      
      	* docs/widget_geometry.txt: Start at documenting how
      	various widgets are drawn.
      
      	* gtk/gtkbutton.c (_gtk_button_paint): Export
      	_gtk_button_paint() librarywide, so we don't have
      	duplicate a bunch of code in gtktogglebutton.c.
      
      	* gtk/gtktogglebutton.c: Use _gtk_button_paint().
      7537825b
  23. 03 Dec, 2001 1 commit
    • Alexander Larsson's avatar
      Return FALSE from expose handlers. · c7cd3421
      Alexander Larsson authored
      2001-12-03  Alex Larsson  <alexl@redhat.com>
      
      	* gtk/gtkaccellabel.c:
      	* gtk/gtkarrow.c:
      	* gtk/gtkcolorsel.c:
      	* gtk/gtkcontainer.c:
      	* gtk/gtklabel.c:
      	* gtk/gtktextview.c:
      	* gtk/gtktogglebutton.c:
      	* gtk/gtktreeview.c:
      	* gtk/gtkwindow.c:
      	Return FALSE from expose handlers.
      c7cd3421
  24. 17 Nov, 2001 1 commit
    • 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
  25. 10 Nov, 2001 1 commit
    • Matthias Clasen's avatar
      Fix docs for gtk_tree_view_column_set_sort_order. (#62647) · f4f1768d
      Matthias Clasen authored
              * gtk/gtktreeviewcolumn.c: Fix docs for
              gtk_tree_view_column_set_sort_order. (#62647)
      
              * gtk/gtkcontainer.c: Fix docs for
              gtk_container_set_border_width. (#64139)
      
              * gtk/gtkcolorsel.c: Documentation fixes.
      
              * gtk/tmpl/gtkpaned.sgml: Document gtk_paned_set_gutter_size
              as noop. (#45802)
      
              * gtk/tmpl/gtkcolorsel.sgml: Remove stuff duplicating inline
              docs. (#60481)
      f4f1768d
  26. 28 Oct, 2001 1 commit
    • 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
  27. 11 Oct, 2001 1 commit
  28. 05 Aug, 2001 1 commit
    • Owen Taylor's avatar
      Fix conversion from float to int so that we don't get skew in the int => · 727cdae7
      Owen Taylor authored
      Sun Aug  5 11:24:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_current_alpha):
      	Fix conversion from float to int so that we don't get
      	skew in the int => float => int roundtrip.
      	(#58120, reported by Vitaly Tishkov). Also fix problem
      	where if no alpha was set, the returned alpha
      	from (say) set_current_alpha() was returned as 1, not 65535.
      727cdae7
  29. 19 Jul, 2001 1 commit
    • Owen Taylor's avatar
      gtk/gtkaccellabel.c (gtk_accel_label_class_init) Use Shift/Ctrl instead of · e37def18
      Owen Taylor authored
      Thu Jul 19 14:56:33 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkaccellabel.c (gtk_accel_label_class_init)
      	* gtk/gtkinputdialog.c (gtk_input_dialog_set_key):
      	Use Shift/Ctrl instead of Shft/Ctl. (#53807)
      
      Thu Jul 19 11:41:00 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcolorsel.c: Add propery support (roughly
      	based on patch from Lee Mallabone, #51014)
      
      	* gtk/gtkcolorsel.h: Mark gtk_color_selection_set_update_policy as
      	deprecated, since we already g_warning() on it.
      e37def18
  30. 18 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Matthias Clasen to remove remove all instances of · 4e2b60ac
      Owen Taylor authored
      Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/*.c: Patch from Matthias Clasen to remove remove
      	all instances of g_return_if_fail (foo != NULL); that are
      	immediately before a g_return_if_fail (GTK_IS_FOO (foo));
      	since the second check catches the NULL anyways.
      4e2b60ac
  31. 12 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Formatting fixes from multihead brnach. [ mostly foo(bar) => foo (bar) ] · 79d45ab8
      Owen Taylor authored
      Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
      	  gtk/gtkctree.c gtk/gtkcurve.c gtk/gtkentry.c
      	  gtk/gtkfontsel.c gtk/gtkhandlebox.c
      	  gtk/gtkimcontextsimple.c gtk/gtkmain.c gtk/gtkmenu.c
      	  gtk/gtkmenuitem.c gtk/gtkoptionmenu.c gtk/gtkpixmap.c
      	  gtk/gtkselection.c gtk/gtktextdisplay.c gtk/gtktextview.c
      	  gtk/gtktooltips.c gtk/gtkwidget.c gtk/gtkwindow.c:
      	Formatting fixes from multihead brnach. [ mostly foo(bar) => foo (bar) ]
      79d45ab8
  32. 30 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Allow %NULL for style to mean "revert to default style" · fbfc3051
      Owen Taylor authored
      Tue Jun 26 19:39:03 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_style): Allow %NULL
      	for style to mean "revert to default style"
      
      	* gtk/gtkwidget.[ch] (gtk_widget_set_rc_style,
      	  gtk_widget_restore_default_style): Make this functions
      	deprecated aliases for gtk_widget_set_style (widget, NULL).
      
      	* gtk/gtkwidget.[ch]: Remove:
      	   gtk_widget_set_default_style ()
      	   gtk_widget_push_style ()
      	   gtk_widget_pop_style ()
      	These functions interact are overriden by RC files, and
      	thus virtually useless, and complicated.
      
      Fri Jun 22 18:49:48 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkrc.c: Add a GtkRcContext structure to hold
      	most of the previous global variables in gtkrc.c. This is
      	in preparation for multi-head, since each screen can
      	have different GtkSettings and RC information.
      
      	* gtk/gtkrc.[ch]:
      
      	* gtk/gtkrc.h (struct _GtkRcStyleClass): Add a
      	GtkSettings parameter to GtkRcStyle::parse.
      
      	* gdk/x11/gdkevents-x11.c gtk/gtksettings.c gtk/gtkrc.c:
      	Add two new settings gtk-theme-name, gtk-key-theme-name,
      	for RC files that are loaded by name after reading
      	the default RC files.
      
      	* gtk/gtkrc.c: Allow priorities for styles, as wll as
      	bindings.
      
      	* gtk/gtkenums.h gtk/gtkrc.c: Add GTK_PATH_PRIO_THEME,
      	and use it by default for RC files loaded via
      	gtk-theme-name, gtk-key-theme-name.
      
      	* gtk/gtkiconfactory.c (gtk_icon_source_set_filename)
              gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string)
      	tests/testgtkrc: Require pathnames to be absolute.
      
      	* gtk/gtkrc.c gtk/gtkiconfactory.c: Look up the full filename for
      	the source when parsing, since the operation of looking up a
      	pixmap from an RC file depends on the parsing context.
      
      	* gtk/gtkrc.c (gtk_rc_context_reparse_all): Automatically
      	reset RC styles on all widgets when files are reparsed.
      
      	* tests/testgtk.c (create_rc_file)
      	  gtk/gtkwindow.c (gtk_window_read_rcfiles):
      	Simplify, now that gtk_rc_reparse_all() resets styles on
      	all widgets itself.
      
      	* gtk/gtkmain.c (gtk_get_default_language): Fix broken
      	return value.
      
      	* gtk/gtksettings.[ch] (gtk_settings_install_property[_ch]): Remove
      	GtkSettings argument.
      
      	* gtk/gtksettings.[ch] (gtk_settings_get_default): Rename from
      	gtk_settings_get_global().
      
      	* gtk/gtkwidget.[ch]: Add a function gtk_widget_Get_settings()
      	to get the appropriate GtkSettings for a widget. (For now,
      	just gets the default GtkSetttings.)
      
      	* gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtkmenubar.c
      	  gtk/gtktextview.c gtk/gtktoolbar.c: Fixes for GtkSettings
              changes.
      
      	* gtk/gtkrc.[ch]: Add gtk_rc_get_style_by_paths() to allow
      	getting a style for a path without actually having a widget.
      	(Allows using a style for a subpart of a widget, for
      	example.)
      
      	* gtk/gtkrc.[ch]: Add gtk_rc_reparse_all_for_setting() to allow forcing
      	the RC files to be reloaded for just one GtkSettings
      	(not sure how useful this really is.)
      
      	* gtk/gtkrc.h: Deprecate
      	gtk_rc_add_widget_name/widget_class/class_style
      fbfc3051
  33. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Clip the retrieved image data to the screen, using a server grab to avoid · 0bee26c7
      Havoc Pennington authored
      2001-06-28  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
      	image data to the screen, using a server grab to avoid race
      	conditions.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	check for NULL return from gtk_image_new_from_stock(), it never
      	returns NULL.
      	(gtk_item_factory_create_item): fix bug where we parsed the stock
      	ID as an inline pixbuf
      
      	* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
      	support
      
      	* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
      
      	* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
      
      	* gtk/gtkimcontextsimple.c
      	(gtk_im_context_simple_filter_keypress): keypad
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
      
      	* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
      
      	* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
      	should be binding-setted)
      
      	* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
      
      	* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
      
      	* gtk/gtkcalendar.c: numeric keypad fixes
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
      	support
      
      	* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
      	screwup
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	clip the render area to the drawable's clip region in advance,
      	so we don't get data from the server that we don't need.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	check return value of gdk_pixbuf_get_from_drawable(), fall back
      	to bilevel alpha if we can't get the pixbuf to composite against.
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
      
      	* gdk/gdkimage.c (gdk_image_get_colormap): add
      	gdk_image_set_colormap, gdk_image_get_colormap
      
      	* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
      	take a region of the image, instead of converting the entire
      	image.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
      	keybinding signal. Add default bindings for it. Add default
      	handler for show_help that shows the tooltip for the widget.
      
      	* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
      	"close" keybinding signal, remove key press handler.
      
      	* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
      	it's not our usual practice to leave a deprecated function around
      	with a runtime warning, plus we don't want it to appear in docs,
      	plus if we make them yellow no one will want to change them
      	anyhow.
      0bee26c7
  34. 28 Jun, 2001 1 commit
    • Tim Janik's avatar
      up version to 1.3.7, interface age 0, binary age 0. depend on glib 1.3.7. · 10f047cf
      Tim Janik authored
      Thu Jun 28 17:18:41 2001  Tim Janik  <timj@gtk.org>
      
      	* configure.in (GTK_MICRO_VERSION): up version to 1.3.7, interface
      	age 0, binary age 0. depend on glib 1.3.7.
      
      	* gtk/gtkcontainer.c: remove g_signal_handlers_disconnect_by_func() hack.
      
      	* gtk/gtkmenubar.c: same here.
      
      	* gtk/gtkcontainer.c (gtk_container_focus_tab): fix param-spec retrival.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_init): fix connect_data() usage.
      
      	* gtk/gtkentry.c (gtk_entry_focus_in): same here.
      
      	* gtk/gtkmenubar.c (add_to_window): likewise.
      
      	* gtk/gtktextbtree.c: and here...
      
      	* gtk/gtktextview.c (gtk_text_view_ensure_layout): same thing.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_init): once more.
      
      	* gtk/gtktreemodel.c (connect_ref_callbacks): and another time.
      
      	* gtk/gtktreeviewcolumn.c:
      	(_gtk_tree_view_column_set_tree_view): yet again.
      
      	* demos/gtk-demo/images.c (progressive_timeout): demonstrate
      	signal connections without g_signal_connect_data().
      
      	* demos/gtk-demo/stock_browser.c (do_stock_browser): second
      	demo of the matter.
      
      	* demos/testpixbuf.c (main): running out of equality phrases for the
      	ChangeLog, but had to adapt connections here as well.
      
      	* demos/testanimation.c (progressive_timeout): and for the fun of it,
      	tackled this the same way.
      
      	* tests/testtext.c (create_view): ok, it's becoming a pain at this
      	point, but had enough enery for one more fix.
      
      	* tests/testtreecolumns.c (main): stand up man, do your work!
      
      	* tests/testtreeview.c (set_columns_type): ok, this is the last file i
      	fix, either that's been all of it or CVS gtk is broken yet again.
      10f047cf
  35. 05 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Use new mnemonic convenience functions · 8fd5c30b
      Havoc Pennington authored
      2001-06-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkcolorsel.c: Use new mnemonic convenience functions
      
      	Applying patch from Jeff Franks, with function docs added.
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_new_with_mnemonic):
      	remove call to set_mnemonic_widget, change docs a bit.
      
      	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_with_mnemonic):
      	new function
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_new_with_mnemonic):
      	new function
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_new_with_mnemonic): new function
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic): new
      	function
      	(gtk_radio_button_new_with_mnemonic_from_widget): new function
      
      	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_with_mnemonic):
      	new function
      
      	* gtk/gtktogglebutton.c (gtk_toggle_button_new_with_mnemonic): new
      	function
      
      	* gtk/gtklabel.c (gtk_label_new_with_mnemonic): Improve docs on
      	auto-selection of mnemonic widget.
      8fd5c30b
  36. 04 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Handle case where we need to parse the xsetting as if it were an RC file · 1b3c9214
      Havoc Pennington authored
      2001-05-10  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtksettings.c (gtk_settings_get_property): Handle case where
      	we need to parse the xsetting as if it were an RC file string.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_class_init): load initial
      	value of palette from settings, not from static variable
      
      	* gdk/x11/gdkevents-x11.c: add color palette, toolbar mode to
      	xsettings translation table
      
      	* gtk/gtktoolbar.c (gtk_toolbar_new): Remove arguments, because
      	hardcoding the toolbar style conflicts with new customizable
      	toolbar style philosophy
      	(gtk_toolbar_class_init): add settings for default toolbar style;
      	these are used unless the app specifically forces a toolbar style
      
      	* gtk/gtksettings.c (settings_install_property_parser): only
      	return at the start if we warn and parser == NULL
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_finalize): disconnect the
      	palette changed handler so we don't notify dead color selections
      
      	* gtk/gtkstyle.c (gtk_default_draw_shadow): handle
      	xthickness/ythickness of 0 or 1 properly
      	(gtk_default_draw_resize_grip): clear the background behind the
      	resize grips, and align to bottom right if we square the
      	area to be drawn.
      
      	* gtk/gtkstatusbar.c (gtk_statusbar_init): set horizontal usize on
      	statusbar label to 1, so it doesn't make toplevels resize oddly
      	(gtk_statusbar_size_request): add grip size to request
      	(gtk_statusbar_size_allocate): hack so the hbox still works with
      	the grip size in the request
      
      	* gtk/gtktoolbar.c (gtk_toolbar_show_all): override to fix
      	bug where showing all on a toplevel makes the toolbar
      	button text appear despite the toolbar mode
      
      	* gtk/gtkmenubar.c: add internal padding style property
      
      	* gtk/gtktoolbar.c: Add internal padding style property; add
      	shadow type style property
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_paint): paint box with widget
      	state; and put Container::border_width outside the frame
      
      	* gtk/gtktextview.c: don't draw focus rectangle if we're in
      	interior focus mode, we just use blinking cursor
      1b3c9214
  37. 11 May, 2001 1 commit
    • Havoc Pennington's avatar
      docs, fixes bug #54144 · cc6b34c1
      Havoc Pennington authored
      2001-05-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkimage.c (gtk_image_new_from_stock): docs, fixes bug
      	#54144
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_new): docs, fixes
      	bug #54330
      
      2001-05-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtkvruler.sgml,
      	gtk/tmpl/gtkhruler.sgml: fix bug #54431
      
      	* gtk/tmpl/gtkdrawingarea.sgml: fix bug #54331
      
      	* gtk/tmpl/gtkenums.sgml: fix bug #54329, and
      	update some other random things
      
      	* gtk/gtk-sections.txt: updates
      
      	* gtk/tmpl/gtkmenuitem.sgml: fix bug #54277
      
      	* gtk/tmpl/gtkradiomenuitem.sgml: fix bug #54323,
      	#54324, #54325
      cc6b34c1