1. 22 Sep, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtksignal.[ch] gtk/gtkclist.c gtk/gtklist.c gtk/gtkmain.c · 1dc24ea3
      Michael Natterer authored
      2008-09-22  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtksignal.[ch]
      	* gtk/gtkclist.c
      	* gtk/gtklist.c
      	* gtk/gtkmain.c
      	* gtk/gtktext.c
      	* gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
      	GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
      
      
      svn path=/trunk/; revision=21488
      1dc24ea3
  2. 12 Aug, 2008 3 commits
    • Sven Neumann's avatar
      gtk/gtkaccellabel.c gtk/gtkaction.c gtk/gtkclist.c gtk/gtkcolorbutton.c · b699ac58
      Sven Neumann authored
      2008-08-12  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkaccellabel.c
      	* gtk/gtkaction.c
      	* gtk/gtkclist.c
      	* gtk/gtkcolorbutton.c
      	* gtk/gtkctree.c
      	* gtk/gtkdialog.c
      	* gtk/gtkdnd-quartz.c
      	* gtk/gtkdnd.c
      	* gtk/gtkentry.c
      	* gtk/gtkfilechooserdefault.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkgamma.c
      	* gtk/gtkiconview.c
      	* gtk/gtkkeyhash.c
      	* gtk/gtklabel.c
      	* gtk/gtkmenu.c
      	* gtk/gtkmenubar.c
      	* gtk/gtkpaned.c
      	* gtk/gtkrecentchooserdialog.c
      	* gtk/gtkrecentchooserutils.c
      	* gtk/gtkselection.c
      	* gtk/gtksizegroup.c
      	* gtk/gtktextbtree.c
      	* gtk/gtktextbuffer.c
      	* gtk/gtktextview.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktreemodel.c
      	* gtk/gtkuimanager.c
      	* gtk/gtkwindow-decorate.c
      	* gtk/gtkwindow.c: use canonical signal names in some more places
      	that I missed earlier. Also changed this in the documentation and
      	comments.
      
      
      svn path=/trunk/; revision=21094
      b699ac58
    • 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
  3. 08 Aug, 2008 1 commit
    • Sven Neumann's avatar
      gtk/gtkadjustment.c gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkiconview.c · 867a82c3
      Sven Neumann authored
      2008-08-08  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkadjustment.c
      	* gtk/gtkclist.c
      	* gtk/gtkcolorsel.c
      	* gtk/gtkiconview.c
      	* gtk/gtklayout.c
      	* gtk/gtkprogress.c
      	* gtk/gtkrange.c
      	* gtk/gtkspinbutton.c
      	* gtk/gtktext.c
      	* gtk/gtktextview.c
      	* gtk/gtktreeview.c
      	* gtk/gtkviewport.c: use the canonical signal name 
      "value-changed"
      	instead of "value_changed".
      
      
      svn path=/trunk/; revision=21041
      867a82c3
  4. 07 Aug, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkclist.c gtk/gtkcontainer.c gtk/gtkfilechooserbutton.c · 8371b465
      Michael Natterer authored
      2008-08-07  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkclist.c
      	* gtk/gtkcontainer.c
      	* gtk/gtkfilechooserbutton.c
      	* gtk/gtkgamma.c
      	* gtk/gtkmenutoolbutton.c
      	* gtk/gtkoptionmenu.c
      	* gtk/gtkradiobutton.c
      	* gtk/gtkradiomenuitem.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeview.c: chain up unconditionally in destroy().
      
      	* gtk/gtkhandlebox.c: remove empty destroy() implementation.
      
      
      svn path=/trunk/; revision=21035
      8371b465
  5. 04 Aug, 2008 4 commits
    • Michael Natterer's avatar
      gtk/gtkclist.c gtk/gtkctree.c gtk/gtkpixmap.c get rid of using deprecated · 0ac989bd
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkclist.c
      	* gtk/gtkctree.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
      
      	* gtk/gtktext.c: ditto, apart from the text cruft APIs.
      
      
      svn path=/trunk/; revision=20982
      0ac989bd
    • Michael Natterer's avatar
      build with GTK_DISABLE_DEPRECATED again. · aa435e02
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
      
      	Fix pltcheck.sh by restricting the visibility of deprecated
      	symbols to the places where they are actually used:
      
      	* gtk/gtkclist.c
      	* gtk/gtkctree.c
      	* gtk/gtklistitem.c
      	* gtk/gtklist.c
      	* gtk/gtkprogressbar.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
      	__GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
      
      	* gtk/gtkclist.h
      	* gtk/gtkctree.h
      	* gtk/gtklistitem.h
      	* gtk/gtklist.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkprogress.h: make the headers visible if the respective
      	__GTK_FOO_C__ are defined.
      
      
      svn path=/trunk/; revision=20970
      aa435e02
    • Michael Natterer's avatar
      gtk/gtkclist.c gtk/gtklist.c gtk/gtkoldeditable.c gtk/gtkpixmap.c · dbd5b75e
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkclist.c
      	* gtk/gtklist.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
      
      
      svn path=/trunk/; revision=20969
      dbd5b75e
    • Michael Natterer's avatar
      gtk/gtkclist.[ch] gtk/gtkctree.[ch] gtk/gtkitemfactory.[ch] · 906db67f
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkclist.[ch]
      	* gtk/gtkctree.[ch]
      	* gtk/gtkitemfactory.[ch]
      	* gtk/gtkobject.[ch]
      	* gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
      
      
      svn path=/trunk/; revision=20967
      906db67f
  6. 04 Jul, 2008 1 commit
    • Michael Natterer's avatar
      Fix make check: · 05a6983f
      Michael Natterer authored
      2008-07-04  Michael Natterer  <mitch@imendio.com>
      
      	Fix make check:
      
      	* gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
      	again :-(
      
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtknotebook.c
      	* gtk/gtkobject.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtktext.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c: don't #define it again before including
      	gtkalias.h after it has been #undef'ed before.
      
      
      svn path=/trunk/; revision=20763
      05a6983f
  7. 01 Jul, 2008 1 commit
  8. 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
  9. 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
  10. 19 Jun, 2008 1 commit
  11. 17 Jun, 2008 1 commit
    • Michael Natterer's avatar
      build with GTK_DISABLE_DEPRECATED. · bd69ea0a
      Michael Natterer authored
      2008-06-17  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
      
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtktext.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
      	actually use deprecated symbols (not just types or macros),
      	#define it again before #include "gtkalias.h" so the symbols match
      	and the beast links.
      
      
      svn path=/trunk/; revision=20433
      bd69ea0a
  12. 28 May, 2008 1 commit
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  13. 09 Mar, 2007 1 commit
  14. 22 Dec, 2006 1 commit
  15. 21 Dec, 2005 1 commit
  16. 05 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Use g_slice instead of mem chunks. · 7dc70fba
      Matthias Clasen authored
      2005-12-05  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkuimanager.c:
      	* gtk/gtktreedatalist.c:
      	* gtk/gtktext.c:
      	* gtk/gtkmain.c:
      	* gtk/gtkitemfactory.c:
      	* gtk/gtkseparator.[hc]:
      	* gtk/gtkclist.[hc]:
      	* gtk/gtkctree.c:
      	* gtk/gtkgc.c: Use g_slice instead of mem chunks.
      7dc70fba
  17. 23 Nov, 2005 1 commit
    • Tim Janik's avatar
      deprecated floating/sink API and implemented it in terms of the GObject · fbb2e3f4
      Tim Janik authored
      Wed Nov 23 18:55:47 2005  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it
              in terms of the GObject floating/sink API.
      
              * gtk/gtkaboutdialog.c:
              * gtk/gtkaction.c:
              * gtk/gtkcellview.c:
              * gtk/gtkclist.c:
              * gtk/gtkcolorsel.c:
              * gtk/gtkcombobox.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkiconview.c:
              * gtk/gtkinvisible.c:
              * gtk/gtkitemfactory.c:
              * gtk/gtklayout.c:
              * gtk/gtkmenu.c:
              * gtk/gtkmenutoolbutton.c:
              * gtk/gtknotebook.c:
              * gtk/gtkprogress.c:
              * gtk/gtkrange.c:
              * gtk/gtkspinbutton.c:
              * gtk/gtkstatusicon.c:
              * gtk/gtktext.c:
              * gtk/gtktextview.c:
              * gtk/gtktoolbar.c:
              * gtk/gtktoolbutton.c:
              * gtk/gtktoolitem.c:
              * gtk/gtktreeitem.c:
              * gtk/gtktreeview.c:
              * gtk/gtktreeviewcolumn.c:
              * gtk/gtkuimanager.c:
              * gtk/gtkviewport.c:
              * gtk/gtkwidget.c:
              * gtk/gtkwindow.c:
              ported to use GObject's g_object_ref_sink().
      
              * gtk/gtkcolorsel.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkaboutdialog.c:
              fixed compiler warnings.
      fbb2e3f4
  18. 13 Sep, 2005 1 commit
  19. 11 Sep, 2005 1 commit
  20. 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
  21. 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
  22. 22 Mar, 2005 1 commit
  23. 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
  24. 09 Mar, 2005 1 commit
  25. 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
  26. 06 Mar, 2004 1 commit
  27. 26 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #105497; constify uses of GdkColor. · 5ebb6b04
      Federico Mena Quintero authored
      2004-01-26  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #105497; constify uses of GdkColor.
      
      	* gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
      	(gdk_gc_set_rgb_bg_color): Constify.
      	(gdk_gc_set_foreground): Constify.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
      
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
      
      	* gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
      	(gdk_draw_layout_with_colors): Constify.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
      	(gdk_pixmap_colormap_create_from_xpm): Constify.
      	(gdk_pixmap_create_from_xpm): Constify.
      	(gdk_pixmap_colormap_create_from_xpm_d): Constify.
      	(gdk_pixmap_create_from_xpm_d): Constify.
      
      	* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
      
      	* gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
      	(gtk_clist_set_background): Constify.
      
      	* gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
      	(gtk_color_button_set_color): Constify.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
      	Constify and add a check for color != NULL.
      	(gtk_color_selection_get_current_color): Add a check for color != NULL.
      	(gtk_color_selection_set_previous_color): Constify and add a check
      	for color != NULL.
      	(gtk_color_selection_get_previous_color): Add a check for color != NULL.
      
      	* gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
      	(gtk_ctree_node_set_background): Constify.
      
      	* gtk/gtktext.c (gtk_text_insert): Constify.
      	(insert_text_property): Constify.
      	(text_properties_equal): Constify.
      	(new_text_property): Constify.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
      	(gtk_widget_modify_fg): Constify.
      	(gtk_widget_modify_bg): Constify.
      	(gtk_widget_modify_text): Constify.
      	(gtk_widget_modify_base): Constify.
      5ebb6b04
  28. 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
  29. 03 Sep, 2003 1 commit
  30. 05 Feb, 2003 1 commit
  31. 13 Dec, 2002 1 commit
    • Owen Taylor's avatar
      System fnmatch wasn't going to be UTF-8 clean, neither was our version. · 73b15ba3
      Owen Taylor authored
      Fri Dec 13 17:45:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/fnmatch.c gtk/gtkprivate.h gtk/gtkfilesel.c:
              System fnmatch wasn't going to be UTF-8 clean, neither
              was our version. Redo our fnmatch.c to be UTF-8, add
              test cases, fix all sorts of bugs inherited
              from the antique GNU fnmatch code. Change interface
              to get rid of fnmatch.h constants. Fixes basic
              non-workingness of filesel with non-ASCII filenames.
      
              * gtk/fnmatch.h: No longer needed.
      73b15ba3
  32. 10 Dec, 2002 2 commits
  33. 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
  34. 17 Nov, 2002 1 commit
    • Manish Singh's avatar
      add -DGDK_DISABLE_DEPRECATED · 89fd6ad3
      Manish Singh authored
      Sun Nov 17 13:45:08 2002  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am: add -DGDK_DISABLE_DEPRECATED
      
              * gdk/gdk.c (gdk_exit): remove obsolete comment
      
              * gdk/gdk.h: declare gdk_input_add_full if GTK_COMPILATION for
              gtk_input_add_full
      
              * gdk/gdkcolor.c (gdk_color_white, gdk_color_black): use
              gdk_colormap_alloc_color instead of gdk_color_alloc
      
              * gdk/gdkcolor.h: declare gdk_colormap_change if GDK_COMPILATION for
              gdk_colors_store. Also, gdk_colors_{alloc,free} for
              gdk_rgb_try_colormap
      
              * gdk/gdkdrawable.h: declare gdk_draw_string if GTK_COMPILATION for
              gtk_default_draw_string. Also, gdk_draw_text and gdk_draw_text_wc
              if GDK_COMPILATION for the respective gdk_window_ and gdk_pixmap_
              functions.
      
              * gdk/gdkfont.c: #undef GDK_DISABLE_DEPRECATED, completely compat
              code here
      
              * gdk/gdkfont.h: allow the GdkFont structure and a few gdk_font_
              functions for compat code in GDK_COMPILATION and GTK_COMPILATION.
      
              * gdk/gdkrgb.c (gdk_rgb_cmap_fail, gdk_rgb_try_colormap): use
              gdk_colormap_free_colors instead of gdk_colors_free.
      
              * gdk/gdkrgb.c (gdk_draw_rgb_image_core): no need to set fg/bg
              for own_gc, unused.
      
              * gdk/gdkwindow.h: declare gdk_window_get_deskrelative_origin if
              GTK_COMPILATION for gtk_handle_box_button_changed.
      
              * gdk/x11/Makefile.am: add -DGDK_DISABLE_DEPRECATED, renmae
              -DINSIDE_GDK_X11 to -DGDK_COMPILATION
      
              * gdk/x11/gdkcolor-x11.c: remove duplicate doc string for
              gdk_colormap_alloc_colors.
      
              * gdk/x11/gdkfont-x11.c:  #undef GDK_DISABLE_DEPRECATED, completely
              compat code here
      
              * gdk/x11/gdkx.h: use GDK_COMPILATION instead of INSIDE_GDK_X11,
              allow a few gdk_x11_font_ functions if GDK_COMPILATION for compat
              code
      
              * gtk/Makefile.am: add -DGDK_DISABLE_DEPRECATED
      
              * gtk/gtkclist.c
              * gtk/gtkctree.c
              * gtk/gtkpixmap.c
              * gtk/gtkpreview.c
              * gtk/gtktext.c: #undef GDK_DISABLE_DEPRECATED, deprecated widget
      
              * gtk/gtkhandlebox.c (gtk_handle_box_motion): use
              gdk_window_set_geometry_hints instead of gdk_window_set_hints.
      
              * gtk/gtkmain.c (gtk_exit): call exit directly
      
              * gtktipsquery.c (gtk_tips_query_real_start_query)
              * gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): remove some
              deprecated GDK usage.
      89fd6ad3