Add new patch and remove an old one

master
Christoph Wickert 2011-07-16 21:29:42 +02:00
parent 7c018f453e
commit 62749ea719
2 changed files with 20 additions and 11 deletions

View File

@ -1,11 +0,0 @@
--- sakura-2.3.3.orig/CMakeLists.txt 2009-01-31 09:55:18.000000000 +0100
+++ sakura-2.3.3/CMakeLists.txt 2009-04-19 02:47:59.000000000 +0200
@@ -34,8 +34,6 @@
IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
SET (CMAKE_C_FLAGS "-Wall")
-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
- SET (CMAKE_C_FLAGS "-O2")
ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})

View File

@ -0,0 +1,20 @@
=== modified file 'src/sakura.c'
--- src/sakura.c 2011-07-15 13:20:53 +0000
+++ src/sakura.c 2011-07-16 18:27:02 +0000
@@ -2120,13 +2120,13 @@
{
SAY("Destroying sakura");
- g_key_file_free(sakura.cfg);
-
/* Delete all existing tabs */
while (gtk_notebook_get_n_pages(GTK_NOTEBOOK(sakura.notebook)) >= 1) {
sakura_del_tab(-1);
}
+ g_key_file_free(sakura.cfg);
+
pango_font_description_free(sakura.font);
if (sakura.background)