summaryrefslogtreecommitdiff
path: root/community/gnome-commander/gnome-commander-1.2.8.15-build.patch
blob: f78eea9d3adce286a743dacba6e248cb29d1eb34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- gnome-commander-1.2.8.15.orig/src/gnome-cmd-pixmap.h	2011-12-06 14:10:28.000000000 -0500
+++ gnome-commander-1.2.8.15/src/gnome-cmd-pixmap.h	2012-11-29 15:57:52.389904563 -0500
@@ -44,7 +44,7 @@
     g_return_if_fail (pixmap->pixmap != NULL);
     g_return_if_fail (pixmap->mask != NULL);
 
-    gdk_pixbuf_unref (pixmap->pixbuf);
+    g_object_unref (pixmap->pixbuf);
     gdk_pixmap_unref (pixmap->pixmap);
     gdk_bitmap_unref (pixmap->mask);
 

--- gnome-commander-1.2.8.15.orig/src/dict.h	2011-11-07 18:26:25.000000000 -0500
+++ gnome-commander-1.2.8.15/src/dict.h	2012-11-29 16:22:17.341129719 -0500
@@ -55,8 +55,8 @@
 template <typename KEY, typename VAL>
 inline void DICT<KEY,VAL>::add(const KEY k, const VAL &v)
 {
-    std::pair<typename KEY_COLL::iterator,bool> k_pos = k_coll.insert(make_pair(k,(const VAL *) NULL));
-    std::pair<typename VAL_COLL::iterator,bool> v_pos = v_coll.insert(make_pair(v,(const KEY *) NULL));
+    std::pair<typename KEY_COLL::iterator,bool> k_pos = k_coll.insert(std::make_pair(k,(const VAL *) NULL));
+    std::pair<typename VAL_COLL::iterator,bool> v_pos = v_coll.insert(std::make_pair(v,(const KEY *) NULL));
 
     if (k_pos.second)
         k_pos.first->second = &v_pos.first->first;