1. 22 Oct, 2004 2 commits
    • Matthias Clasen's avatar
      Use the new file DND api. · a811584d
      Matthias Clasen authored
      2004-10-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_drag_data_received)
      	(gtk_file_chooser_button_init): Use the new file DND api.
      
      	* gtk/gtkdnd.h:
      	* gtk/gtkdnd.c (gtk_drag_dest_add_uri_targets)
      	(gtk_drag_source_add_uri_targets):
      
      	* gtk/gtkselection.h:
      	* gtk/gtkselection.c (gtk_target_list_add_uri_targets):
      	(gtk_selection_data_set_uris):
      	(gtk_selection_data_get_uris): New functions to allow
      	handling file DND "without knowing jack shit".
      
      	* configure.in: Bump glib requirement to 2.5.4.
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Use
      	g_uri_list_extract_uris().
      a811584d
    • Matthias Clasen's avatar
      Document how to use info with text/image targets. · 81229a1b
      Matthias Clasen authored
      2004-10-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkdnd.c: Document how to use info with text/image
      	targets.
      
      	* gtk/gtkselection.h:
      	* gtk/gtkselection.c (gtk_target_list_add_text_targets):
      	(gtk_target_list_add_image_targets): Add info argument.
      
      	* gtk/gtkcalendar.c (gtk_calendar_motion_notify):
      	* gtk/gtkentry.c (gtk_entry_init):
      	* gtk/gtktextview.c (gtk_text_view_init): Adjust all callers.
      81229a1b
  2. 21 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Add convenience api for image dnd (#150165): · 968b192f
      Matthias Clasen authored
      2004-10-21  Matthias Clasen  <mclasen@redhat.com>
      
      	Add convenience api for image dnd (#150165):
      
      	* gtk/gtkselection.h:
      	* gtk/gtkselection.c (gtk_target_list_add_image_targets)
      	(gtk_selection_data_set_pixbuf, gtk_selection_data_get_pixbuf):
      	New functions to handle the image formats readable/writable
      	by gdk-pixbuf.
      
      	* gtk/gtkdnd.h:
      	* gtk/gtkdnd.c (gtk_drag_dest_add_image_targets)
      	(gtk_drag_source_add_text_targets): New functions to handle
      	the image formats readable/writable by gdk-pixbuf.
      968b192f
  3. 17 Sep, 2004 1 commit
  4. 26 Aug, 2004 1 commit
    • Manish Singh's avatar
      initialize path so we don't potentially use an undefined pointer. · 95674320
      Manish Singh authored
      Wed Aug 25 17:14:58 2004  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_search_activate): initialize
              path so we don't potentially use an undefined pointer.
      
              * gtk/gtkfilechooserdefault.c (shortcuts_list_create): add G_CALLBACK
              cast for tree_view_keybinding_cb.
      
              * gtk/gtkfilechooserdefault.c (location_entry_create): cast to
              GTK_FILE_CHOOSER_ENTRY for _gtk_file_chooser_entry_set_file_part()
              calls.
      
              * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_start_editing):
              cast to GTK_COMBO_BOX for gtk_combo_box_set_active_iter() call.
      
              * gtk/gtkselection.c (selection_get_text_plain): make len a gsize,
              since that's what g_convert_with_fallback() expects.
      95674320
  5. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  6. 17 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Support text/plain selection target (#55117, Owen Taylor) · fb881018
      Matthias Clasen authored
      Sat Jul 17 00:48:27 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Support text/plain selection target  (#55117, Owen Taylor)
      
      	* gtk/gtkselection.h:
      	* gtk/gtkdnd.h:
      	* gtk/gtkselection.c (gtk_target_list_add_text_targets):
      	* gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
      	* gtk/gtkdnd.c (gtk_drag_source_add_text_targets): New
      	functions to facilitate handling of text targets.
      
      	* gtk/gtkentry.c:
      	* gtk/gtktextview.c: Use the new text target handling
      	functions instead of hardwiring the list of supported
      	text targets everywhere.
      
      	* gtk/gtkselection.c (gtk_selection_data_get_text):
      	(gtk_selection_data_set_text):
      	Support the targets text/plain, text/plain?charset=utf-8
      	and text/plain?charset=<LOCALE-CHARSET> as outlined in
      	#55117:
      	For text/plain send only ASCII, but accept 8-bit text
      	and treat it as ISO-8859-1 as specified by the Xdnd spec.
      	Always send CRLF terminators. Accept either and convert
      	into the native terminator for the platform.
      fb881018
  7. 22 Jun, 2004 1 commit
  8. 02 Jun, 2004 1 commit
    • Matthias Clasen's avatar
      Remove leftover debug code. · 0f313841
      Matthias Clasen authored
      Wed Jun  2 00:47:11 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkselection.c (_gtk_selection_request): Remove leftover
      	debug code.
      0f313841
  9. 08 May, 2004 1 commit
    • Hans Breuer's avatar
      finally also create the correct mask for 'pseudo mime' icons · 805abff3
      Hans Breuer authored
      2004-05-08  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkfilesystemwin32.c (extract_icon) : finally also
      	create the correct mask for 'pseudo mime' icons
      
      	* gdk/win32/gdkwindow-win32.c(show_window_internal) : also
      	take focus_on_map into account
      
      	* gtk/gtkselection.c : g_message() only with DEBUG_SELECTION
      
      	* gtk/gtkactiongroup.c gtk/gtkcombobox.c :
      	... must return a value
      
      	* gdk/gdk.def gtk/gtk.def demos/gtk-demo/makefile.msc.in : updated
      805abff3
  10. 04 May, 2004 1 commit
  11. 03 May, 2004 2 commits
    • Matthias Clasen's avatar
      Make the chunk size for incremental transfers depend on the maximal · 93fde873
      Matthias Clasen authored
      2004-05-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkselection.c: Make the chunk size for
      	incremental transfers depend on the maximal request
      	size, capped at 256k. This should allow most selections
      	to be transferred nonincrementally, avoiding many
      	roundtrips and protocol overhead.
      93fde873
    • Matthias Clasen's avatar
      u2004-05-03 Matthias Clasen <mclasen@redhat.com> · b59612e8
      Matthias Clasen authored
      	* gtk/gtkselection.c (_gtk_selection_request): Fix
      	a debug message to show correct information.
      	(_gtk_selection_incr_event): Make INCRemental transfer
      	of MULTIPLE targets work. This was broken since 1997!
      b59612e8
  12. 06 Mar, 2004 1 commit
  13. 25 Feb, 2004 1 commit
    • Owen Taylor's avatar
      Call g_convert(), not g_convert() with fallback, since Emacs is happier if · 6139c61d
      Owen Taylor authored
      Wed Feb 25 15:36:50 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkselection-x11.c (gdk_utf8_to_compound_text_for_display):
              Call g_convert(), not g_convert() with fallback, since Emacs is
              happier if we reject the COMPOUND_TEXT request and it can
              then ask for UTF-8. (#114527)
      
              * gtk/gtkselection.c (gtk_selection_data_set_text): When
              TEXT is requested, if COMPOUND_TEXT fails, fall back to STRING.
      6139c61d
  14. 12 Feb, 2004 1 commit
    • Manish Singh's avatar
      Assign xtype using gdk_x11_atom_to_xatom_for_display () when type != · 7cf055ef
      Manish Singh authored
      Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
              gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
      
              * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
              gdk_property_get call instead of 0.
      
              * docs/reference/gdk/tmpl/properties.sgml: Document the above
              as GDK_NONE instead of simply 0.
      7cf055ef
  15. 29 Jan, 2004 1 commit
  16. 17 Dec, 2003 1 commit
    • Matthias Clasen's avatar
      Add missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). Cast second argument · 2a136e56
      Matthias Clasen authored
      Wed Dec 17 23:20:23 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
      	GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
      	* gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c,
      	gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c,
      	gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
      	GSourceFunc instead of GtkFunction.  (#129525, Olexiy Avramchenko)
      2a136e56
  17. 20 May, 2003 1 commit
    • Owen Taylor's avatar
      Comprehensively zero all unused parts of client messages (Mainly Motif DND · ef605368
      Owen Taylor authored
      Tue May 20 15:09:29 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively
              zero all unused parts of client messages (Mainly Motif DND
              and EWMH). Also, fix a couple places where we were putting
              contents into Motif DND messages that didn't belong.
              (#113361, EWMH problem reported by Lubos Lunak)
      
              * gtk/gtkselection.c (_gtk_selection_request): Handle the
              case where the property type for the multiple atoms is
              ATOM_PAIR by doing the conversions ourselve. This is
              needed for Xt inter-operation.
      ef605368
  18. 05 Feb, 2003 1 commit
  19. 31 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Deprecate. (#85683) · 9efb563c
      Matthias Clasen authored
      2003-01-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkselection.h:
      	* gtk/gtkselection.c (gtk_selection_clear): Deprecate.  (#85683)
      9efb563c
  20. 10 Dec, 2002 1 commit
  21. 04 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Always look up and create the Motif drag window as a child of the root · 6d5f8224
      Owen Taylor authored
      Wed Dec  4 14:31:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c: Always look up and create the
              Motif drag window as a child of the root window of screen 0
              rather than the default screen. (#100362, Erwann Chenede)
      
              * gdk/x11/gdkdnd-x11.c (motif_read_initiator_info):
              Return FALSE, not GDK_FILTER_REMOVE on failure; this
              isn't a filter function.
      
              * gdk/x11/gdkselection-x11.c gtk/gtkselection.c: Add
              some g_return_if_fail() to catch selection == None more
              gracefully than an X error.
      6d5f8224
  22. 28 Nov, 2002 1 commit
  23. 08 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml · b1165617
      Soeren Sandmann authored
      Fri Nov  8 20:14:52 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gdk/tmpl/dnd.sgml
      	docs/reference/gdk/tmpl/drawing.sgml
      	docs/reference/gdk/tmpl/gdk-unused.sgml
      	docs/reference/gdk/tmpl/gdkdisplay.sgml
      	docs/reference/gdk/tmpl/general.sgml
      	docs/reference/gdk/tmpl/input_devices.sgml
      	docs/reference/gdk/tmpl/selections.sgml
      	docs/reference/gtk/tmpl/gtkcellrenderer.sgml
      	docs/reference/gtk/tmpl/gtkcurve.sgml
      	docs/reference/gtk/tmpl/gtkdnd.sgml
      	docs/reference/gtk/tmpl/gtkitemfactory.sgml
      	docs/reference/gtk/tmpl/gtkmenu.sgml
      	docs/reference/gtk/tmpl/gtkoldeditable.sgml
      	docs/reference/gtk/tmpl/gtkoptionmenu.sgml
      	docs/reference/gtk/tmpl/gtkpreview.sgml
      	docs/reference/gtk/tmpl/gtkselection.sgml
      	docs/reference/gtk/tmpl/gtksocket.sgml
      	docs/reference/gtk/tmpl/gtkstyle.sgml
      	docs/reference/gtk/tmpl/gtktextbuffer.sgml
      	docs/reference/gtk/tmpl/gtktreemodel.sgml
      	docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c
      	gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h
      	gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c
      	gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h
      	gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h
      	gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h
      	gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h
      	gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h
      	gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h
      	gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c
      	gtk/gtktreemodel.h gtk/gtkwidget.h
      
      	Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow
      	without warnings. (#91680)
      b1165617
  24. 09 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 8b6ce081
      Manish Singh authored
      Wed Oct  9 16:52:53 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkclipboard.[ch] gtk/gtkeditable.[ch] gtk/gtkgc.c
              gtk/gtkoptionmenu.[ch] gtk/gtkselection.c gtk/gtksizegroup.[ch]:
              Deprecation cleanup
      8b6ce081
  25. 03 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add a 'type' parameter, make public. · ef33adff
      Owen Taylor authored
      Thu Oct  3 14:13:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.c (gdk_event_new): Add a 'type'
              parameter, make public.
      
              * gdk/gdkevents.c (gdk_event_copy): Copy the screen.
      
              * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c
              gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c:
              _gdk_event_new() => gdk_event_new().
      
              * gdk/win32/gdkevents-win32.c (real_window_procedure):
              Fix event_private->screen breakage that results from evil
              encapsulation breakage here.
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c
              gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c
              gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c
              gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c
              gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c
              gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c
              tests/testgtk.c: Remove most usage of stack-allocated
              GdkEvent structures.
      
              * gtk/gtktreeview.c: Use a cut-and-paste of the full
              send_focus_event() from gtkwindow.c that does the necessary
              notification of the ::has-focus property and setting of
              the HAS_FOCUS flag.x
      
              * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing
              an extraneous use of a GdkEvent.
      ef33adff
  26. 27 Sep, 2002 1 commit
    • Owen Taylor's avatar
      (#91249, Thomas Leonard) · e369df6b
      Owen Taylor authored
      Fri Sep 27 18:14:00 2002  Owen Taylor  <otaylor@redhat.com>
              (#91249, Thomas Leonard)
      
              * gtk/gtkselection.c (gtk_selection_convert): Initialize
              idle time to 0.
      
              * gtk/gtkselection.c: Up idle timeout to 5 minutes
              from 5 seconds.
      e369df6b
  27. 23 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Privatize gtk_selection_request, gtk_selection_incr_event · b33ec36d
      Owen Taylor authored
      Mon Sep 23 19:49:11 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkselection.[ch] gtk/gtkwidget.c gtk/gtkmain.c:
              Privatize gtk_selection_request, gtk_selection_incr_event
              gtk_selection_notify, gtk_selection_property_notify.
              Add doc note about future deprecation of gtk_selection_clear()
              which. (#85683)
      
              * gtk/gtkoldeditable.c (gtk_old_editable_selection_clear):
              Chain up, rather than calling gtk_selection_clear().
      b33ec36d
  28. 14 Aug, 2002 1 commit
  29. 20 Jun, 2002 2 commits
    • 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
    • Owen Taylor's avatar
      Get the owner from the display if !NULL. Otherwise, warn for multihead. · 511d536a
      Owen Taylor authored
      Thu Jun 20 15:36:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkselection.c (gtk_selection_owner_set): Get
              the owner from the display if !NULL. Otherwise, warn for
              multihead. (#85680)
      511d536a
  30. 13 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Fix type names for GtkIconSet, GtkIconSource, GtkSelectionData, GtkBorder, · 2ea857cb
      Owen Taylor authored
      Thu Jun 13 19:41:56 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
              gtk/gtktextiter.c gtk/gtktexttag.c gtk/gtktreemodel.c
              gtk/gtkwidget.c: Fix type names for GtkIconSet,
              GtkIconSource, GtkSelectionData, GtkBorder, GtkTextIter,
              GtkTextAttributes, GtkTreePath, GtkTreeIter,
              GtkRequisition, which were all registered as GtkType*.
              (#84634, James Henstridge; patch from Jonathan Blandford.)
      2ea857cb
  31. 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
  32. 02 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Switch style of stamp file usage. · f832e348
      Owen Taylor authored
      Sat Mar  2 13:26:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/Makefile.am: Switch style of stamp file usage.
      
              * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
              enumeration/fags TYPE variables over to macros for get_type() functions,
              for lazy definition and to get rid of expensive relocations.
      
              * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
              gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
              gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
              definitions over manually coded get_type() functions.
      
              * gtk/gtk.def: Updates for above
      
              * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
              Remove from CVS, no longer used.
      
              * configure.in: Remove checks for awk.
      f832e348
  33. 21 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Set the property as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.) · e6d7f5e1
      Owen Taylor authored
      Wed Feb 20 21:52:13 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkselection.c (gtk_selection_request): Set the property
              as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
      
              * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
              of type ATOM_PAIR as well as properties of type ATOM.
      e6d7f5e1
  34. 17 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Call gtk_selection_remove_all() here, not in destroy/ finalize. (#66636, · cf250934
      Owen Taylor authored
      Thu Jan 17 17:02:38 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_real_unrealize): Call
      	gtk_selection_remove_all() here, not in destroy/
      	finalize. (#66636, Sergey Vlasov)
      
      	* gtk/gtkselection.c (gtk_selection_request): Fix
      	reentrancy problem with multiple conversions.
      
      	* gtk/gtkselection.c (gtk_selection_remove_all):
      	Don't remove incrs, we don't need the widget for
      	maintain the incr.
      
      	* gtk/gtkselection.c (struct _GtkIncrInfo): Remove
      	the widget field from here, we don't need it.
      cf250934
  35. 08 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Doc typo fix. (#68172) · c1808baa
      Matthias Clasen authored
              * gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)
      
              * gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.
      
              * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.
      
              * gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.
      
              * gtk/gtkrc.c (gtk_rc_get_style_by_paths),
              gtk/gtkwidget.c (gtk_widget_get_toplevel,
              gtk_widget_push_composite_child), gtk/gtkdialog.c
              (gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
              from messing up the indentation of inline examples.
      
              * gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
              instead of getenv().
      
              * gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
              gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
              gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.
      
              * gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
              gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
              Document.
      
              * gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
              instead of GTK_WINDOW_XWINDOW().  (#68172)
      
              * gtk/gtk-sections.txt: Move functions which are documented
              as "private" or "internal" into Private subsections.
      
              * gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
              gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
              gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
              gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
              gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.
      
              * gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.
      
              * gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
              gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.
      
              * gtk/tmpl/gtkrc.sgml: Correct names of default RC files.
      c1808baa
  36. 31 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Add a "menu" property and notify on it. (#62798, Padraig O'Briain) · 2145a4ef
      Owen Taylor authored
      Wed Oct 31 18:23:47 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
      	Add a "menu" property and notify on it. (#62798,
      	Padraig O'Briain)
      
      	* gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c,
      	gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}:
      	Fix set_text to take a gchar, not a guchar, and to have
      	a len argument.
      2145a4ef
  37. 22 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Fixing popup menus to have "Paste" sensitized correctly. Original patches · 92d2dc0b
      Owen Taylor authored
      Mon Oct 22 16:25:12 2001  Owen Taylor  <otaylor@redhat.com>
      
      	Fixing popup menus to have "Paste" sensitized correctly. Original
      	patches from Damian Ivereigh, much mangled.
      
      	* gtk/gtkselection.c: Add functions gtk_selection_data_get_targets(),
      	gtk_selection_data_targets_include_text(). (#60854)
      
      	* gtk/gtkclipboard.c: Add a simple do-it-all non-async "check if
      	the clipboard has text" function gtk_clipboard_wait_is_text_available.
      	(#60854)
      
      	* gtk/gtkentry.c: Only enable the paste item if the clipboard
      	contains text. (#60973)
      
      	* gtk/gtktextview.c: Only enable the paste item if the clipboard
      	contains text. (#60975)
      92d2dc0b