public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-libs/gtk+/files: gtk+-2.21.3-multilib.patch
@ 2010-09-24 22:50 Nirbheek Chauhan (nirbheek)
  0 siblings, 0 replies; only message in thread
From: Nirbheek Chauhan (nirbheek) @ 2010-09-24 22:50 UTC (permalink / raw
  To: gentoo-commits

nirbheek    10/09/24 22:50:05

  Added:                gtk+-2.21.3-multilib.patch
  Log:
  Bump to 2.22.0, gdk-pixbuf has been split off and the pixbuf directories changed
  
  (Portage version: 2.1.9.10/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  x11-libs/gtk+/files/gtk+-2.21.3-multilib.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gtk+/files/gtk+-2.21.3-multilib.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gtk+/files/gtk+-2.21.3-multilib.patch?rev=1.1&content-type=text/plain

Index: gtk+-2.21.3-multilib.patch
===================================================================
Same as the 2.8 version, except removed gdk-pixbuf parts

--- gtk+-2.21.3.orig/gtk/gtkrc.c
+++ gtk+-2.21.3/gtk/gtkrc.c
@@ -364,7 +364,15 @@
       if (im_module_file)
 	result = g_strdup (im_module_file);
       else
-	result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtk.immodules", NULL);
+	{
+	  result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", GTK_HOST, "gtk.immodules", NULL);
+	  if (!g_file_test (result, G_FILE_TEST_EXISTS))
+	    {
+	      g_free (result);
+	      
+	      result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtk.immodules", NULL);
+	    }
+	}
     }
 
   return result;






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-24 22:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24 22:50 [gentoo-commits] gentoo-x86 commit in x11-libs/gtk+/files: gtk+-2.21.3-multilib.patch Nirbheek Chauhan (nirbheek)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox