1. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  2. 19 Jun, 2008 1 commit
  3. 28 Dec, 2007 1 commit
  4. 12 Jul, 2007 1 commit
  5. 14 Jan, 2007 1 commit
  6. 22 Dec, 2006 1 commit
  7. 29 Jun, 2006 1 commit
    • Matthias Clasen's avatar
      Documentation additions and fixes. · f8f93845
      Matthias Clasen authored
      2006-06-28  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkprinter.c:
              * gtk/gtkprintunixdialog.c:
              * gtk/gtkprintoperationpreview.c:
              * gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context):
              * gtk/gtklabel.c (gtk_label_set_line_wrap_mode):
              * gtk/gtkentry.c (gtk_entry_new):
              * gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label):
              * gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation
              additions and fixes.
      
              * gtk/gtkaspectframe.h:
              * gtk/gtkaboutdialog.c:
              * gtk/gtkcalendar.c:
              * gtk/gtkinputdialog.c:
              * gtk/gtk.symbols: Remove unnecessary includes.
      
              * gtk/gtkprogress.[hc]:
              * gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION,
              remove unnecessary includes.
      f8f93845
  8. 14 May, 2006 1 commit
  9. 03 May, 2006 1 commit
    • Matthias Clasen's avatar
      More G_DEFINE_TYPE conversion. · e272345b
      Matthias Clasen authored
      2006-05-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaccessible.c:
      	* gtk/gtkclipboard.c:
      	* gtk/gtkfilefilter.c:
      	* gtk/gtkimmodule.c:
      	* gtk/gtkmenubar.c: More G_DEFINE_TYPE conversion.
      e272345b
  10. 02 May, 2006 1 commit
  11. 07 Mar, 2006 1 commit
    • Michael Natterer's avatar
      Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer. · 6c1d990a
      Michael Natterer authored
      2006-03-07  Michael Natterer  <mitch@imendio.com>
      
      	Add infrastructure for copy/paste and DND of rich text for
      	GtkTextBuffer. Fixes bug #324177.
      
      	* gtk/gtktextbufferrichtext.[ch]: new files implementing a
      	per-buffer registry of rich text formats.
      
      	* gtk/gtk.h: #include gtktextbufferrichtext.h
      
      	* gtk/gtktextbufferserialize.[ch]: new files implementing an
      	internal serialization format that can handle all of a text
      	buffer's tags and pixbufs. It's not useful for anything except
      	tranfer between instances of GtkTextBuffer (Anders Carlsson).
      
      	* gtk/Makefile.am: build the new files.
      
      	* gtk/gtkclipboard.[ch]: added convenience APIs for rich text,
      	just as they exist for plain text and pixbufs.
      
      	* gtk/gtkselection.[ch]: added rich text convenience APIs here
      	too.  Return the target list from gtk_target_list_ref(). Register
      	GtkTargetList as boxed type. Added
      	gtk_target_table_new_from_list() and gtk_target_table_free(),
      	which make converting between GtkTargetList and arrays of
      	GtkTargetEntry considerably easier.
      
      	* gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon()
      	which creates a fancy rich text icon (Matthias Clasen).
      
      	* gtk/gtktextbuffer.[ch]: use all the new stuff above and
      	implement copy and paste of rich text. Added APIs for getting the
      	target lists used for copy and paste. Added public enum
      	GtkTextBufferTargetInfo which contains the "info" IDs associated
      	with the entries of the target lists.
      
      	* gtk/gtktextview.c: use the new rich text APIs and
      	GtkTextBuffer's new target list API to enable DND of rich text
      	chunks.
      
      	* gtk/gtk.symbols: export all the new symbols added.
      
      	* tests/testtext.c: added rich text testing stuff.
      6c1d990a
  12. 10 Nov, 2005 1 commit
    • Michael Natterer's avatar
      Applied patch from maemo-gtk that addresses many issues wrt display · 8bdc0bf9
      Michael Natterer authored
      2005-11-10  Michael Natterer  <mitch@imendio.com>
      
      	Applied patch from maemo-gtk that addresses many issues wrt
      	display migration and display closing (bug #85715).
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): don't just set the
      	default display to NULL when it's closed. Instead set the most
      	recently opened display as new default (if one exists).
      
      	* gdk/gdkpango.c (on_renderer_display_closed): fixed signature
      	of this callback.
      
      	* gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still
      	exist before unrefing them.
      
      	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen
      	is closed, allow destruction of the root window.
      
      	* gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to
      	dispose(), free stuff that was leaked before.
      
      	* gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if
      	the xsettings_client still exists before destroying it.
      
      	* gdk/x11/gdkkeys-x11.c: added finalization and free the allocated
      	X resources.
      
      	* gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new
      	dispose() implementation.
      
      	* gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to
      	dispose() and check if it still exists before unrefing it. Set
      	their pointers to NULL/None *after* upchaining in dispose(),
      	because X11 implementations of members of the parent class still
      	need them for their own destruction.
      
      	* gdk/x11/gdkvisual-x11.c: removed finalize() implementation which
      	was g_error()ing when finalizing a visual.
      
      	* gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use
      	get_clipboard_widget() because it would create the widget if it
      	doesn't exist. Use g_object_get_data() directly instead.
      
      	* gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature
      	of this callback.
      8bdc0bf9
  13. 28 Sep, 2005 1 commit
  14. 11 Sep, 2005 1 commit
  15. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  16. 31 Aug, 2005 2 commits
  17. 24 Aug, 2005 1 commit
  18. 01 Aug, 2005 1 commit
  19. 30 Mar, 2005 1 commit
  20. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  21. 21 Feb, 2005 1 commit
  22. 28 Dec, 2004 1 commit
    • Matthias Clasen's avatar
      Make the clipboard image API more robust (#162357, Torsten Schoenfeld): · 676322ac
      Matthias Clasen authored
      2004-12-27  Matthias Clasen  <mclasen@redhat.com>
      
      	Make the clipboard image API more robust (#162357,
      	Torsten Schoenfeld):
      
      	* gtk/gtkclipboard.c (clipboard_image_received_func): Don't
      	ref the pixbuf if it is NULL.
      
      	* gtk/gtkselection.c (gtk_selection_data_set_pixbuf):
      	NULL-terminate the varargs in the call to
      	gdk_pixbuf_save_to_buffer().
      	(gtk_selection_data_get_pixbuf): Only use a pixbuf loader
      	if there is data to load.
      676322ac
  23. 11 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Remove two more places where we were unconditionally setting "visible", · 75eb3f9d
      Matthias Clasen authored
      2004-11-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkuimanager.c (update_node): Remove two more places
      	where we were unconditionally setting "visible", causing
      	unnecessary notifications.
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	(gtk_clipboard_get): Clarify the docs.  (#156638, Torsten
      	Schoenfeld)
      	(gtk_clipboard_finalize): Warn if the clipboard is still in
      	its displays clipboard list.
      75eb3f9d
  24. 31 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Add api for image transfer via copy-and-paste (#156408) · 1c8e6a0e
      Matthias Clasen authored
      2004-10-31  Matthias Clasen  <mclasen@redhat.com>
      
      	Add api for image transfer via copy-and-paste (#156408)
      
      	* gtk/gtkclipboard.c (gtk_clipboard_set_image)
      	(gtk_clipboard_request_image, gtk_clipboard_wait_for_image)
      	(gtk_clipboard_wait_is_image_available): New functions for image
      	transfer.
      
      	* gtk/gtkselection.h:
      	* gtk/gtkselection.c (gtk_selection_data_targets_include_image):
      	New function, similar to gtk_selection_data_targets_include_text().
      1c8e6a0e
  25. 29 Oct, 2004 1 commit
  26. 27 Oct, 2004 2 commits
  27. 25 Oct, 2004 1 commit
    • Anders Carlsson's avatar
      New API to handle the clipboard manager. · 06c4bb44
      Anders Carlsson authored
      2004-10-25  Anders Carlsson  <andersca@imendio.com>
      
      	* gdk/gdk.symbols:
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkdisplay-x11.c:
      	(gdk_display_supports_clipboard_persistence),
      	(gdk_display_store_clipboard):
      	New API to handle the clipboard manager.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkclipboard.c: (gtk_clipboard_class_init),
      	(gtk_clipboard_finalize), (selection_clear_event_cb),
      	(clipboard_unset), (gtk_clipboard_set_text),
      	(gtk_clipboard_request_targets), (gtk_clipboard_wait_for_targets),
      	(clipboard_peek), (gtk_clipboard_owner_change),
      	(gtk_clipboard_wait_is_target_available),
      	(gtk_clipboard_store_timeout), (gtk_clipboard_set_can_store),
      	(gtk_clipboard_selection_notify), (gtk_clipboard_store),
      	(_gtk_clipboard_store_all):
      	* gtk/gtkclipboard.h:
      	Add API for clipboard persistence and implement it, also add
      	gtk_clipboard_wait_is_target_available.
      
      	* gtk/gtkmain.c: (gtk_main):
      	Call _gtk_clipboard_store_all before exiting.
      06c4bb44
  28. 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
  29. 18 May, 2004 1 commit
    • Matthias Clasen's avatar
      Check for XFIXES extension. · 7b8616bf
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* configure.in: Check for XFIXES extension.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
      	a gboolean have_xfixes member.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Register
      	XFIXES events and set have_xfixes.
      
      	* gdk/gdkevents.h (GdkEventType): Add GDK_OWNER_CHANGE.
      	(GdkEventOwnerChange): New event struct for owner change events.
      	(GdkOwnerChange): New enum for the reason field of GdkEventOwnerChange.
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Translate
      	XFixesSelectionNotify events into GdkEventOwnerChange events.
      
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_selection_notification):
      	(gdk_display_request_selection_notification): New api
      	to support selection ownership notification.
      
      	* gtk/gtkclipboard.h:
      	* gtk/gtkclipboard.c (_gtk_clipboard_handle_event): New private
      	api to handle owner change events.
      	(clipboard_peek): Refactored out the body of
      	gtk_clipboard_get_for_display() for use in _gtk_clipboard_handle_event().
      
      	* gtk/gtkmain.c (gtk_main_do_event): Handle GDK_OWNER_CHANGE events
      	by calling _gtk_clipboard_handle_event().
      7b8616bf
  30. 23 Apr, 2004 1 commit
  31. 06 Mar, 2004 1 commit
  32. 22 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Add chains to the parent's ::finalize() handler (#134901, Morten Welinder, · a362428d
      Matthias Clasen authored
      Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.c: (gtk_action_finalize):
      	* gtk/gtkclipboard.c: (gtk_clipboard_finalize):
      	* gtk/gtkentrycompletion.c: (gtk_entry_completion_class_init),
      	(gtk_entry_completion_finalize):
      	* gtk/gtkfilechooserwidget.c: (gtk_file_chooser_widget_finalize):
      	* gtk/gtkfilesystemmodel.c: (gtk_file_system_model_class_init),
      	(gtk_file_system_model_finalize):
      	* gtk/gtkicontheme.c: (gtk_icon_theme_class_init),
      	(gtk_icon_theme_finalize):
      	* gtk/gtktextchild.c: (gtk_text_child_anchor_finalize):
      	* gtk/gtkuimanager.c: (gtk_ui_manager_class_init),
      	(gtk_ui_manager_finalize):
      	* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_finalize):
      	Add chains to the parent's ::finalize() handler  (#134901, Morten Welinder,
      	patch by Jan Arne Petersen)
      a362428d
  33. 03 Jan, 2004 1 commit
  34. 24 Dec, 2003 1 commit
  35. 10 Dec, 2002 1 commit
  36. 28 Nov, 2002 1 commit
  37. 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
  38. 01 Oct, 2002 1 commit
    • jacob berkman's avatar
      declare parent_class static · 55c44271
      jacob berkman authored
      2002-10-01  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtkinvisible.c:
      	* gtk/gtkclipboard.c: declare parent_class static
      55c44271