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. 09 Aug, 2004 2 commits
    • 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
    • Matthias Clasen's avatar
      Ref and sink the column. (gtk_combo_box_menu_destroy): Unref the column. · 0c42eed2
      Matthias Clasen authored
      Sun Aug  8 23:36:55 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
      	and sink the column.
      	(gtk_combo_box_menu_destroy): Unref the column.
      
      Sun Aug  8 23:35:00 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkdnd.c (gtk_drag_source_add_text_targets):
      	(gtk_drag_dest_add_text_targets): Don't leak a reference
      	to the target list.
      0c42eed2
  4. 08 Aug, 2004 1 commit
    • Hans Breuer's avatar
      take targets into account again to allow dnd of other things than text · 79477664
      Hans Breuer authored
      2004-08-07  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkdnd.c (gtk_drag_dest_set) : take targets into
      	account again to allow dnd of other things than text
      
      	* gdk/win32/gdkselection-win32.c : offer windows bitmap to
      	be pasted from clipboard (makes The GIMP 2.1's
      	"File/Acquire/Paste as New" work, only using gtk+ API)
      79477664
  5. 06 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Really fix the initialization of the target list. · 39469f8f
      Matthias Clasen authored
      2004-08-06  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really
      	fix the initialization of the target list.
      
      	Support XDND v5. (#10220, Owen Taylor)
      
      	* gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the
      	drop was successful in the GdkDragContextPrivateX11 struct.
      	(xdnd_finished_filter): Store the success status of the drop
      	for an XDND version 5 interaction. For other versions, always
      	assume the drop was successful.
      	(xdnd_check_dest): Return the protocol version.
      	(_gdk_drag_get_protocol_for_display): Return the protocol version.
      	(gdk_drag_find_window_for_screen): Store the used protocol version
      	in the GdkDragContext.
      	(xdnd_send_enter): Send the used protocol version from the context,
      	instead of hardwiring 3.
      	(xdnd_enter_filter): Accept protocol versions >= 3 and store the
      	used protocol version in the context.
      
      	* gdk/gdkdnd.h:
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function
      	to find out whether a drop was successful.
      39469f8f
  6. 23 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Create the change to initialize target_list to an empty list instead of · d0a5b4e0
      Matthias Clasen authored
      Fri Jul 23 13:04:10 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkdnd.c (gtk_drag_dest_set): Create the change to
      	initialize target_list to an empty list instead of NULL,
      	since it broke tree dnd.  (#148215, Ernst Persson)
      
      	* gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
      	* gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead
      	handle target list being NULL here.
      d0a5b4e0
  7. 18 Jul, 2004 1 commit
    • Soeren Sandmann's avatar
      Create an empty target list if targets is NULL. · 19523008
      Soeren Sandmann authored
      Sun Jul 18 15:28:24 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkdnd.c (gtk_drag_source_set, gtk_drag_dest_set): Create an
      	empty target list if targets is NULL.
      
      	* configure.in: Add check for X11/extensions/sync.h. (#147416,
      	Morten Welinder)
      19523008
  8. 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
  9. 13 Mar, 2004 1 commit
    • Owen Taylor's avatar
      For GTK_IS_PLUG toplevels, call gdk_window_get_origin() not · fadaa651
      Owen Taylor authored
      Sat Mar 13 10:49:46 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): For
              GTK_IS_PLUG toplevels, call gdk_window_get_origin()
              not gtk_window_get_position, as a hackround for not
              having accurate notification of window position for
              embedded windows. (#136112, Dan Winship)
      fadaa651
  10. 07 Mar, 2004 1 commit
    • Hans Breuer's avatar
      some more settings from system, also reflect some name changes done a · 985e3a24
      Hans Breuer authored
      2004-03-07  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting) :
      	some more settings from system, also reflect some name changes
      	done a while ago in the x11 backend
      
      	* gdk/win32/makefile.msc : build gdkspawn-win32.c
      
      	* gtk/gtkdnd.c : gtk_drag_source_[gs]et_target_list, added "Since: 2.4"
      
      	* gtk/makefile.msc.in : build gtkpathbar, link shell32.lib
      
      	* tests/makefile.msc : some more tests get build
      985e3a24
  11. 06 Mar, 2004 1 commit
  12. 02 Mar, 2004 1 commit
  13. 29 Dec, 2003 1 commit
  14. 03 Sep, 2003 1 commit
  15. 13 Jul, 2003 1 commit
  16. 06 Jul, 2003 2 commits
    • Owen Taylor's avatar
      gtk/gtkdnd.c (_gtk_drag_source_handle_event) Remove use of · c084f541
      Owen Taylor authored
      Sun Jul  6 13:00:20 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c (_gtk_drag_source_handle_event)
              * gtk/gtkdnd.c (gtk_drag_begin_internal):  Remove use
              of GDK_POINTER_MOTION_HINT_MASK.
      
              * gtk/gtkdnd.c (gtk_drag_update_idle): Move updating
              of the drag into an idle as a superior form of
              expose compression.
      
              * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon
              creation here, so that we have an icon at the start
              of the drag (e.g., when retrieving the window cache
              information.)
      c084f541
    • Owen Taylor's avatar
      Move default icon creation here, so that we have an icon at the start of · d7226f50
      Owen Taylor authored
      Sun Jul  6 11:56:48 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon
              creation here, so that we have an icon at the start
              of the drag (e.g., when retrieving the window cache
              information.)
      d7226f50
  17. 05 Jul, 2003 1 commit
    • Owen Taylor's avatar
      Move the grabs up earlier, so we don't get a big pile of uncompressed · e5561940
      Owen Taylor authored
      Sat Jul  5 00:49:32 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c (gtk_drag_begin): Move the grabs up
              earlier, so we don't get a big pile of uncompressed
              motion events before the grab takes effect.
      
              * gtk/gtkdnd.c (gtk_drag_update_icon): Call
              gdk_window_process_all_updates() so that the area
              we are dragging over gets a change to redraw.
      
              * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): Use
              gdk_window_get_position(), not gdk_window_get_origin().
      
              * gdk/x11/gdkwindow-x11.[ch] (gdk_window_have_shape_ext)
              gdkdisplay-x11.h: use XShapeQueryExtension to
              avoid duplicate XQueryExtension when we actually
              use it. Remove unnecessary caching in GdkDisplayX11.
      e5561940
  18. 09 Jun, 2003 1 commit
    • Owen Taylor's avatar
      Use application/x-rootwindow-drop for root window drops. (#108670, Alex · 85d8c337
      Owen Taylor authored
      Sun Jun  8 22:03:09 2003  Owen Taylor  <otaylor@redhat.com>
      
              * tests/testdnd.c: Use application/x-rootwindow-drop for
              root window drops. (#108670, Alex Larsson)
      
              * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop):
              Accept either application/x-rootwin-drop (what GTK+ has always used)
              or application/x-rootwindow-drop (what the XDND standard specifies).
      85d8c337
  19. 27 May, 2003 1 commit
    • Matthias Clasen's avatar
      Remove dubious bitfields of unspecified signedness. (#112919, Morten · 83c626bb
      Matthias Clasen authored
      2003-05-27  Matthias Clasen  <maclas@gmx.de>
      
      	* io-wbmp.c: Remove dubious bitfields of
      	unspecified signedness.  (#112919, Morten Welinder)gdk-p
      
      	* gdk-pixdata.c (gdk_pixdata_to_csource): Replace all occurances
      	of g_string_new ("") by g_string_new (NULL). (#106975, Morten Welinder)
      
      	* gtk/gtkwindow-decorate.c:
      	* gtk/gtktreeprivate.h:
      	* gtk/gtkdnd.c:
      	* gdk/win32/gdkwindow-win32.h:
      	* gdk/linux-fb/gdkprivate-fb.h:
      	* gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of
      	unspecified signedness.  (#112919, Morten Welinder)
      
      	* gtk/queryimmodules.c (escape_string):
      	* gtk/gtktextbtree.c (_gtk_text_btree_get_text):
      	* gtk/gtksettings.c (_gtk_settings_parse_convert):
      	* gtk/gtkrc.c (gtk_rc_parse_assignment):
      	* gtk/gtkinputdialog.c (gtk_input_dialog_set_key):
      	* gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all
      	occurances of g_string_new ("") by g_string_new (NULL). (#106975,
      	Morten Welinder)
      83c626bb
  20. 11 May, 2003 1 commit
  21. 05 May, 2003 1 commit
  22. 28 Feb, 2003 1 commit
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  23. 05 Feb, 2003 1 commit
  24. 12 Dec, 2002 1 commit
  25. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 53620226
      Manish Singh authored
      Sun Oct 13 16:55:49 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkdnd.c gtk/gtkradiobutton.[ch]: Deprecation cleanup
      
              * gtk/Makefile.am: Added disable deprecation flags
      
              * demos/pixbuf-init.c demos/gtk-demo/changedisplay.c: minor clean up
      53620226
  26. 07 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add gdk_drag_find_window_for_screen(), so that we can interpret x_root / · f3f016d0
      Owen Taylor authored
      Mon Oct  7 15:48:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdnd.[ch] gdk/x11/gdkdnd-x11.c: Add
              gdk_drag_find_window_for_screen(), so that we can
              interpret x_root / y_root relative to the correct screen.
      
              * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c
              gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file.
              Move gdk_drag_find_window(), gdk_drag_get_protocol() here.
      
              * gtk/gtkdnd.c: Handle drags between screens; use
              a fallback icon for icons set as windows/pixmaps,
              move the drag icon between displays for icons set as
              pixbufs.
      
              * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix infinite
              loop from last change.
      f3f016d0
  27. 04 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Improve checks on public entry points, including, among other things · 47bed428
      Owen Taylor authored
      Fri Oct  4 17:13:03 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkdnd.c: Improve checks on public entry points,
              including, among other things checking whether drag
              contexts passed in are source or dest. (Fixes
              #76762, Alexey A. Malyshev)
      
              * tests/testtext.c tests/testgtk.c tests/testdnd.c:
              Fix uninstalled operation for new pixbuf changes.
      
              * gtk/stock-icons/Makefile.am (pixbuf_csource):
              Fix makefile for uninstalled operation.
      47bed428
  28. 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
  29. 05 Aug, 2002 1 commit
    • Owen Taylor's avatar
      Add a note that yes, we do know what () means and we can't change it. · 090a1ac1
      Owen Taylor authored
      Mon Aug  5 14:50:13 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkitemfactory.h: Add a note that yes, we do know
      	what () means and we can't change it.
      
      	Fixes for warnings reported by David L. Cooper II
      
      	* tests/testtext.c: Warning fixes. Fix order of arguments
      	to gtk_message_dialog_new(). (#85891)
      
      	* gtk/gtktreeitem.c (gtk_tree_item_paint): Fix incorrect
      	use GTK_STATE_INSENSITIVE for a shadow type. (Not clear
      	what the drawing intent was, but it's ENABLE_BROKEN
      	anyways.) (#85880)
      
      	* gtk/gtktexttypes.c: Use character literals
      	instead of direct constants to avoid warning. (#85878)
      
      	* gtk/theme-bits/decompose-bits.c gtk/gtkstyle.c:
      	Fix some signed/unsigned problems (#85876)
      
      	* gtk/gtksignal.c (gtk_signal_newv): Add an explicit
      	cast from GtkSignalRunType to GSignalFlags. (#85875)
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_add_item): Fix
      	use of guint instead of GdkModifierType (#85871)
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
      	Fix signed/unsigned problem (#85870)
      
      	* gtk/gtkimcontext.c (gtk_im_context_class_init): Get
      	rid of GtkType/Signal*. (Fixes #85869 as a side effect)
      
      	* gtk/gtkdnd.c (gtk_drag_get_cursor): Fix some
      	signed/unsigned warnings (#85865)
      090a1ac1
  30. 18 Jun, 2002 2 commits
    • Owen Taylor's avatar
      Make the core pointer object per-display. (#85698) · 1abf7df6
      Owen Taylor authored
      Tue Jun 18 19:11:51 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.[ch] gdk/gdkevents.c gdk/gdkinput.h
              gdk/gdkinternals.h gdk/win32/gdkevents-win32.c
              gdk/win32/gdkinput-win32.[ch] gdk/x11/gdkevents-x11.c
              gdk/x11/gdkinput{,-none,-x11}.c gdk/x11/gdkinputprivate.h:
              Make the core pointer object per-display. (#85698)
      1abf7df6
    • Owen Taylor's avatar
      Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display(). · 621fb746
      Owen Taylor authored
      Tue Jun 18 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
              gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
              gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
              (#85671)
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
              gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c
              gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c
              gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c:
              Adapt to above change.
      621fb746
  31. 13 Jun, 2002 1 commit
  32. 29 May, 2002 1 commit
  33. 17 May, 2002 2 commits
    • Owen Taylor's avatar
      Protect against reentrancy problems by emitting ::preedit_changed at the · 3fe86a48
      Owen Taylor authored
      Fri May 17 14:40:24 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave):
              Protect against reentrancy problems by emitting
              ::preedit_changed at the end, fixing input context
              leak. (Yao Zhang)
      
              * modules/input/gtkimcontextxim.c (status_window_free):
              Patch from Federico Mena Quintero to fix problem where
              references to IMContextXIM were kept around after
              module was unloaded.
      
              * gtk/gtkdnd.c (gtk_drag_dest_set): NULL initialize
              proxy window.
      3fe86a48
    • Owen Taylor's avatar
      Fix a missing unref in the local/passive case. (#82067, Michael Meeks) · f58d5530
      Owen Taylor authored
      Fri May 17 13:56:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.c (gtk_plug_filter_func): Fix a missing
              unref in the local/passive case. (#82067, Michael
              Meeks)
      
              * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Fix
              reference leak on the plug window.
      
              * tests/testsocket.c (add_child): Fix memory leak.
      
              * gtk/gtkdnd.c (gtk_drag_dest_site_destroy): Unref
              the proxy window.
      f58d5530
  34. 15 May, 2002 1 commit
  35. 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