1. 06 Mar, 2010 1 commit
  2. 05 Mar, 2010 1 commit
  3. 03 Mar, 2010 2 commits
  4. 01 Mar, 2010 1 commit
  5. 22 Feb, 2010 2 commits
  6. 09 Feb, 2010 1 commit
    • Matthias Clasen's avatar
      Fix a refcounting issues in GtkPlug · beddf67e
      Matthias Clasen authored
      When the foreign window already has a GdkWindow, we forget to take
      an extra references, leading to crashes later on. Patch by
      Karl Tomlinson, bug 607061.
      beddf67e
  7. 04 Jan, 2010 1 commit
    • Christian Dywan's avatar
      Deprecate flag macros for toplevel, state, no window and composite child · bb1824c1
      Christian Dywan authored
      Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
      GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
      GTK_WIDGET_COMPOSITE_CHILD.
      
      Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
      GTK_OBJECT_TYPE which have become redundant.
      
      Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
      GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
      is replaced with use of the "composite-child" property and uses of
      GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
      
      Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
      changed to direct flag usage.
      
      Documentation is updated to refer to gtk_widget_set_has_window and
      gtk_widget_get_has_window.
      
      Gail and tests are updated as well.
      
      Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
      bb1824c1
  8. 23 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      Keep GtkPlug in sync with the global list of toplevels. · 4569b49b
      Matthias Clasen authored
              Patch by Federico Mena Quintero
      
              * gtk/gtkwindow.h:
              * gtk/gtkwindow.c (_gtk_window_set_is_toplevel): New internal
              function used when a GtkPlug parents/unparents itself by an
              in-process GtkSocket.  This keeps the plug's GTK_TOPLEVEL flag in
              sync with the global toplevel_list.
      
              * gtk/gtkplug.c (gtk_plug_set_is_child): Call
              _gtk_window_set_is_toplevel() to keep the toplevel list updated,
              instead of just setting/unsetting the GTK_TOPLEVEL flag.
      
      
      svn path=/trunk/; revision=22191
      4569b49b
  9. 12 Aug, 2008 2 commits
    • Michael Natterer's avatar
      gtk/gtkaccellabel.c gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkentry.c · d9d33796
      Michael Natterer authored
      2008-08-12  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkaccellabel.c
      	* gtk/gtkcalendar.c
      	* gtk/gtkclist.c
      	* gtk/gtkentry.c
      	* gtk/gtkeventbox.c
      	* gtk/gtkfilechooserbutton.c
      	* gtk/gtkfilechooserdefault.c
      	* gtk/gtkhandlebox.c
      	* gtk/gtkhsv.c
      	* gtk/gtkiconview.c
      	* gtk/gtkimage.c
      	* gtk/gtklayout.c
      	* gtk/gtklistitem.c
      	* gtk/gtkmenuitem.c
      	* gtk/gtkmessagedialog.c
      	* gtk/gtknotebook.c
      	* gtk/gtkpaned.c
      	* gtk/gtkpathbar.c
      	* gtk/gtkplug.c
      	* gtk/gtkprintunixdialog.c
      	* gtk/gtkrange.c
      	* gtk/gtkrecentchooserdefault.c
      	* gtk/gtkruler.c
      	* gtk/gtksocket.c
      	* gtk/gtktext.c
      	* gtk/gtktextview.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktreeitem.c
      	* gtk/gtktreeview.c
      	* gtk/gtkviewport.c
      	* gtk/gtkwin32embedwidget.c: chain up unconditionally in
      	realize(), unrealize(), map(), unmap(), style_set(),
      	key_press_event() and size_request()
      
      
      svn path=/trunk/; revision=21088
      d9d33796
    • Michael Natterer's avatar
      consistently chain up using GTK_FOO_CLASS(parent_class)->bar(instance) · e18d3c6f
      Michael Natterer authored
      2008-08-12  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/*.c: consistently chain up using
      	GTK_FOO_CLASS(parent_class)->bar(instance) instead of
      	(*GTK_FOO_CLASS(parent_class))->bar(instance).
      
      
      svn path=/trunk/; revision=21085
      e18d3c6f
  10. 11 Aug, 2008 1 commit
    • Sven Neumann's avatar
      gtk/gtkdnd-quartz.c gtk/gtkdnd.c gtk/gtkentry.c gtk/gtkfilesel.c · 4c33ae06
      Sven Neumann authored
      2008-08-11  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkdnd-quartz.c
      	* gtk/gtkdnd.c
      	* gtk/gtkentry.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkimcontextsimple.c
      	* gtk/gtkimmulticontext.c
      	* gtk/gtkoptionmenu.c
      	* gtk/gtkplug.c
      	* gtk/gtkrecentchooserdefault.c
      	* gtk/gtkscrolledwindow.c
      	* gtk/gtksocket-x11.c: use canonical signal names in some more
      	places that I missed earlier.
      
      
      svn path=/trunk/; revision=21069
      4c33ae06
  11. 01 Jul, 2008 1 commit
  12. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  13. 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
  14. 21 Jun, 2008 1 commit
    • Björn Lindqvist's avatar
      Bug 539363 – Segfault when creating GtkPlugs · 743eebc1
      Björn Lindqvist authored
      2008-06-21  Björn Lindqvist  <bjourne@gmail.com>
      
      	Bug 539363 – Segfault when creating GtkPlugs
      
      	* gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
      	property names. "socket window" => "socket-window"
      
      svn path=/trunk/; revision=20661
      743eebc1
  15. 20 Jun, 2008 4 commits
    • Hans Breuer's avatar
      must return a value of the appropriate type with g_return_val_if_fail · 8e2ef498
      Hans Breuer authored
      2008-06-20  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
      	a value of the appropriate type with g_return_val_if_fail
      	
      	* gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
      
      	* gtk/gtkfilesystem.c : don't add the "File System" on win32
      
      	* tests/makefile.msc : remove broken autotestfile(system|chooser) 
      	from build
      
      
      svn path=/trunk/; revision=20657
      8e2ef498
    • Johan Dahlin's avatar
      Add missing Since: gtk-doc markup for newly added GSEAL API. Change all · e46eeab2
      Johan Dahlin authored
      2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkaccelgroup.c:
          * gtk/gtkcolorseldialog.c:
          * gtk/gtkcontainer.c:
          * gtk/gtkdialog.c:
          * gtk/gtkentry.c (gtk_entry_class_init):
          * gtk/gtkfontsel.c:
          * gtk/gtkhandlebox.c:
          * gtk/gtklayout.c:
          * gtk/gtkmenu.c (gtk_menu_class_init):
          * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
          * gtk/gtkplug.c (gtk_plug_class_init):
          * gtk/gtkselection.c:
          * gtk/gtksocket.c:
          * gtk/gtktreeselection.c:
          * gtk/gtkwidget.c (gtk_widget_class_init):
          * gtk/gtkwindow.c:
          Add missing Since: gtk-doc markup for newly added GSEAL API.
          Change all Since: GSEAL-branch to Since: 2.14.
      
      
      svn path=/trunk/; revision=20639
      e46eeab2
    • Tim Janik's avatar
      Add gtk_plug_get_socket_window · c4576c3a
      Tim Janik authored
      svn path=/trunk/; revision=20629
      c4576c3a
    • Tim Janik's avatar
      Seal GtkPlug · 7d5da3f8
      Tim Janik authored
      svn path=/trunk/; revision=20611
      7d5da3f8
  16. 16 Jun, 2008 1 commit
  17. 07 Feb, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkcellview.c gtk/gtklabel.c gtk/gtklayout.c gtk/gtklist.c · ac6c3719
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcellview.c
      	* gtk/gtklabel.c
      	* gtk/gtklayout.c
      	* gtk/gtklist.c
      	* gtk/gtkmenu.c
      	* gtk/gtkmenushell.c
      	* gtk/gtkmisc.c
      	* gtk/gtkoptionmenu.c
      	* gtk/gtkplug.c
      	* gtk/gtkpreview.c
      	* gtk/gtkprogress.c
      	* gtk/gtkradiomenuitem.c
      	* gtk/gtkscale.c
      	* gtk/gtkscrolledwindow.c
      	* gtk/gtksocket.c: remove g_return_if_fail() from private
      	functions and virtual function implementations.
      
      
      svn path=/trunk/; revision=19492
      ac6c3719
  18. 11 Jul, 2007 1 commit
  19. 25 Dec, 2006 1 commit
  20. 22 Dec, 2006 1 commit
    • Matthias Clasen's avatar
      Make it possible to track the embeddedness of statusicon (#387215, Martyn · d9a6a829
      Matthias Clasen authored
      2006-12-22  Matthias Clasen  <mclasen@redhat.com>
      
              Make it possible to track the embeddedness of
              statusicon (#387215, Martyn Russell, patch by Christian
              Persch)
      
              * gtk/gtkstatusicon.c: Add orientation and embedded properties.
              * gtk/gtkplug.c:
              * gtk/gtkplug-x11.c: Add an embedded property.
              * tests/teststatusicon.c: Test the new properties.
      d9a6a829
  21. 14 May, 2006 1 commit
  22. 02 May, 2006 1 commit
  23. 04 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Use the slice allocator for many small allocations. · 04eceaf6
      Matthias Clasen authored
      2006-01-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaccelmap.c:
      	* gtk/gtkactiongroup.c:
      	* gtk/gtkdialog.c:
      	* gtk/gtkfilesystemunix.c:
      	* gtk/gtkgc.c:
      	* gtk/gtkkeyhash.c:
      	* gtk/gtkplug.c:
      	* gtk/gtktextiter.c:
      	* gtk/gtktextlayout.c:
      	* gtk/gtkuimanager.c:
      	* gtk/gtkwidget.c:
      	* gtk/gtkwindow.c:
      	* gtk/gtkxembed.c: Use the slice allocator for many small
      	allocations.
      
      	* gtk/gtkcolorsel.c:
      	* gtk/gtktreeview.c: Use IPN.
      
      	* gtk/gtkwidget.c: Remove an unused field from the AccelPath
      	struct.
      04eceaf6
  24. 20 Dec, 2005 1 commit
  25. 19 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Documentation fixes. · b4d4e8ca
      Matthias Clasen authored
      2005-12-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkplug.c:
      	* gtk/gtkwindow.c: Documentation fixes.
      b4d4e8ca
  26. 02 Sep, 2005 1 commit
    • Tor Lillqvist's avatar
      Keep track of cursor position also in root window coordinates. Prune out · b2595c84
      Tor Lillqvist authored
      2005-09-02  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Keep track of
      	cursor position also in root window coordinates. Prune out
      	superfluous WM_MOUSEMOVE messages even earlier, based on root window
      	coordinates. Windows sends WM_MOUSEMOVE messages after a new
      	window has ben mapped below the cursor even if the mouse doesn't
      	move. We used to generate GDK_MOTION_NOTIFY in these cases. This
      	confused at least gtk_menu_motion_notify(). (#314995)
      
      	* gtk/gtkintl.h: No need to include config.h here. It caused
      	warnings about GTK_LOCALEDIR being redefined on Win32 when
      	compiling files where gtkintl.h is included after gtkprivate.h
      	(which #undefines and re-#defines GTK_LOCALEDIR on Win32).
      
      	* gtk/gtkplug.c: Include config.h.
      b2595c84
  27. 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
  28. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  29. 09 Aug, 2005 1 commit
    • Mark McLoughlin's avatar
      Fixes "notification area leaks space" (bug #312687) · 00cc0609
      Mark McLoughlin authored
      2005-08-09  Mark McLoughlin  <mark@skynet.ie>
      
              Fixes "notification area leaks space" (bug #312687)
      
              * gtk/gtksocket-x11.c: (_gtk_socket_windowing_filter_func):
                gtk/gtkplug.c: (_gtk_plug_add_to_socket): don't pass a
              detail to g_signal_emit_by_name()
      00cc0609
  30. 21 Jul, 2005 1 commit
    • Tor Lillqvist's avatar
      gtk/gtksocket.c Splice out backend-dependend parts to separate files, see · 6a7be726
      Tor Lillqvist authored
      2005-07-21  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtksocket.c
      	* gtk/gtkplug.c: Splice out backend-dependend parts to separate
      	files, see below.
      
      	* gtk/gtksocketprivate.h
      	* gtk/gtkplugprivate.h: New files. Declare the backend-specific
      	functions, and the private backend-independent functions they call
      	back to.
      6a7be726
  31. 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
  32. 28 Oct, 2004 1 commit
  33. 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
  34. 05 Aug, 2004 1 commit
    • Soeren Sandmann's avatar
      Call gdk_window_enable_synchronized_configure() · ed44e79c
      Soeren Sandmann authored
      Thu Aug  5 19:58:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkplug.c (gtk_plug_realize): Call
      	gdk_window_enable_synchronized_configure()
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Make
      	noop if gdk_window_enable_synchronized_configure() has not been
      	called.
      ed44e79c