1. 28 Nov, 2007 2 commits
    • Tor Lillqvist's avatar
      Tack on "/share/locale" to GTK_LOCALEDIR so that the code in · 82b031d9
      Tor Lillqvist authored
      2007-11-28  Tor Lillqvist  <tml@novell.com>
      
      	* config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
      	that the code in _gtk_get_localedir() will find the slashes.
      
      
      svn path=/trunk/; revision=19084
      82b031d9
    • Tor Lillqvist's avatar
      A proper build of GNU libintl is supposed to export the variable · 10825b14
      Tor Lillqvist authored
      2007-11-28  Tor Lillqvist  <tml@novell.com>
      
      	A proper build of GNU libintl is supposed to export the variable
      	_nl_msg_cat_cntr. configure looks for that variable in order to
      	recognize GNU gettext. If it sees that it is indeed GNU gettext
      	that is used, it decides to install message catalogs in
      	share/locale, otherwise in lib/locale. Until now on Windows I have
      	built GTK+ against a build of GNU gettext that did not export
      	_nl_msg_cat_cntr. But this will change, so we can't assume message
      	catalogs are always in lib/locale.
      
      	* gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
      	GTK_LOCALEDIR being either in "lib" or "share". Move the function
      	before the inclusion of gtkprivate.h so that it sees the original
      	GTK_LOCALEDIR.
      
      	* gtk-zip.sh.in: Check whether the message catalogs are in
      	share/locale or lib/locale.
      
      
      svn path=/trunk/; revision=19083
      10825b14
  2. 27 Nov, 2007 7 commits
    • Tor Lillqvist's avatar
      Improve portability. The -o option is present only in newish GNU egreps. · 2159f9c7
      Tor Lillqvist authored
      2007-11-28  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/Makefile.am: Improve portability. The -o option is present
      	only in newish GNU egreps. Use one more sed in the pipeline
      	instead.
      
      
      svn path=/trunk/; revision=19082
      2159f9c7
    • Tor Lillqvist's avatar
      Remove fuzzy marker for the metadata entry (the first one, for the string · 8cf8fadd
      Tor Lillqvist authored
      2007-11-28  Tor Lillqvist  <tml@novell.com>
      
      	* io.po: Remove fuzzy marker for the metadata entry (the first
      	one, for the string ""), as having that fuzzy crashes msgfmt from
      	gettext 0.17, at least for me.
      
      
      svn path=/trunk/; revision=19081
      8cf8fadd
    • Tor Lillqvist's avatar
      Fix #375893, patch by Ben Hague: · d0f50cde
      Tor Lillqvist authored
      2007-11-28  Tor Lillqvist  <tml@novell.com>
      
      	Fix #375893, patch by Ben Hague:
      
      	* gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
      	around GetLogicalDrives() that takes also the viewable drive
      	restrictions in the Registry (which are usually the result of an
      	Active Directory Group Policy) into account.
      
      	(check_volumes, gtk_file_system_win32_list_volumes) Call
      	get_viewable_logical_drives() instead of GetLogicalDrives().
      
      
      svn path=/trunk/; revision=19079
      d0f50cde
    • Matthias Clasen's avatar
      Zero some variables to silence valgrind. (#495124, Morten Welinder) · cd2d87b4
      Matthias Clasen authored
      2007-11-27  Matthias Clasen <mclasen@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
              variables to silence valgrind.  (#495124, Morten Welinder)
      
      
      svn path=/trunk/; revision=19077
      cd2d87b4
    • Allison Karlitskaya's avatar
      add clarification stating that the construct_child function is responsible · 08e15bbb
      Allison Karlitskaya authored
      2006-11-26  Ryan Lortie  <desrt@desrt.ca>
      
              * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
              that the construct_child function is responsible for returning a
              reference.
              * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
              objects from constructors
              * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
              g_object_ref() to this construction function (it's the only
              implementer in GTK)
      
              Fixes #496645.
      
      
      svn path=/trunk/; revision=19075
      08e15bbb
    • Allison Karlitskaya's avatar
      remove concept of root objects and just refcount all objects in the · 490af125
      Allison Karlitskaya authored
      2006-11-26  Ryan Lortie  <desrt@desrt.ca>
      
              * gtkbuilder.c: remove concept of root objects and just refcount
              all objects in the builder.  Fixes #496651.
      
      
      svn path=/trunk/; revision=19074
      490af125
    • Allison Karlitskaya's avatar
      fix invalid free · 029de426
      Allison Karlitskaya authored
      2007-11-26  Ryan Lortie  <desrt@desrt.ca>
      
              * tests/buildertest.c (test_window): fix invalid free
      
      
      svn path=/trunk/; revision=19073
      029de426
  3. 26 Nov, 2007 15 commits
  4. 25 Nov, 2007 8 commits
  5. 24 Nov, 2007 2 commits
  6. 22 Nov, 2007 5 commits
    • 15:48:26  Tim Janik's avatar
      initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional · 2fc85e7b
      15:48:26 Tim Janik authored
      2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
      
              * Makefile.decl: initialize automake variables EXTRA_DIST and
      	TEST_PROGS for unconditional appending via += in other makefiles.
      	define recursive test targets: test, test-report, perf-report,
      	full-report, as described here:
            http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
      	the test targets will execute Gtk+ test programs within an Xvfb session.
      
              * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
      
              * gtk/tests/testing.c: use g_test_add_func() to register tests and use
      	g_test_run() to run the tests to integrate with the testing framework.
      
              * gtk/tests/Makefile.am: removed exemplary testing rules.
      
              * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
              * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
              * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
              * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
              * docs/reference/Makefile.am, docs/tools/Makefile.am:
              * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
              * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
              * demos/gtk-demo/Makefile.am, demos/Makefile.am:
              * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
              * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
              * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
              * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
              * modules/engines/ms-windows/Theme/Makefile.am:
              * modules/engines/ms-windows/Makefile.am:
              * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
              * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
              * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
              * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
              * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
              * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
      	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
      
      
      
      svn path=/trunk/; revision=19034
      2fc85e7b
    • 15:39:40  Tim Janik's avatar
      call g_test_init() from gtk_test_init(). · 2dc08ada
      15:39:40 Tim Janik authored
      2007-11-22 15:39:40  Tim Janik  <timj@imendio.com>
      
              * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
      
              * gtk/tests/testing.c: use g_test_add_func() to register tests and use
      	g_test_run() to run the tests to integrate with the testing framework.
      
              * gtk/tests/Makefile.am: removed exemplary testing rules.
      
              * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
              * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
              * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
              * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
              * docs/reference/Makefile.am, docs/tools/Makefile.am:
              * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
              * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
              * demos/gtk-demo/Makefile.am, demos/Makefile.am:
              * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
              * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
              * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
              * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
              * modules/engines/ms-windows/Theme/Makefile.am:
              * modules/engines/ms-windows/Makefile.am:
              * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
              * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
              * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
              * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
              * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
              * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
      	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
      
      
      
      svn path=/trunk/; revision=19033
      2dc08ada
    • Priit Laes's avatar
      Translation updated by Ivar Smolin. · b5b038af
      Priit Laes authored
      2007-11-22  Priit Laes  <plaes@svn.gnome.org>
      
      	* et.po: Translation updated by Ivar Smolin.
      
      svn path=/trunk/; revision=19032
      b5b038af
    • Matthias Clasen's avatar
      Fix a casting problem. (#485662, patch by Herbert Valerio Riedel) · 68c47963
      Matthias Clasen authored
      2007-11-22  Matthias Clasen  <mclasen@redhat.com>
      
              * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
              (#485662, patch by Herbert Valerio Riedel)
      
      
      
      svn path=/trunk/; revision=19025
      68c47963
    • Matthias Clasen's avatar
      Fix an aliasing problem. (#347585, Ed Catmur) · 1ece9d4e
      Matthias Clasen authored
      2007-11-22  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
      
      
      svn path=/trunk/; revision=19024
      1ece9d4e
  7. 21 Nov, 2007 1 commit