[gnome-latex: 67/205] GTK+2.0 version 2.16 minimum required



commit 8c001e7137861d994f5e922c7f1aea7b5dc037d2
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date:   Fri Sep 18 00:51:15 2009 +0200

    GTK+2.0 version 2.16 minimum required
    
    The function gtk_activatable_set_related_action appeared in GTK+-2.16.

 CMakeLists.txt |  2 +-
 TODO           | 18 ++----------------
 src/main.h     | 10 ----------
 3 files changed, 3 insertions(+), 27 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e557fe1..7673aa1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,7 +34,7 @@ ENDIF(ENABLE_NLS)
 SET(CMAKE_C_FLAGS "-Wall -std=c99 -DGTK_DISABLE_DEPRECATED=1")
 
 FIND_PACKAGE(PkgConfig REQUIRED)
-PKG_CHECK_MODULES(GTK2 REQUIRED gtk+-2.0 gtksourceview-2.0>=2.4)
+PKG_CHECK_MODULES(GTK2 REQUIRED gtk+-2.0>=2.16 gtksourceview-2.0>=2.4)
 SET(GTKSOURCEVIEW_VERSION ${GTK2_gtksourceview-2.0_VERSION})
 
 INCLUDE_DIRECTORIES(${GTK2_INCLUDE_DIRS} ${latexila_BINARY_DIR}/src)
diff --git a/TODO b/TODO
index ad6293a..565bbad 100644
--- a/TODO
+++ b/TODO
@@ -1,25 +1,11 @@
 TODO LaTeXila
 
-Wed Sep 9, 2009 to Wed Sep 16, 2009
-
-[x] document tabs
-       x arrows to navigate between tabs if there are a lot of documents opened
-
-[x] save and load
-       x show/hide symbol tables
-       x size of the window
-       x if the window is maximised
-       x position of the panes
-
-[x] check memory leaks
-
-[x] open recent
-       x when "save as", add the file to the recent manager
+Fri Sep 18, 2009 to Fri Sep 25, 2009
 
 [-] LaTeX menu + new toolbar
        x font styles: bold, italic, ...
        x environments: center, flushleft, ...
-       - sectioning: part, chapter, section, ...
+       x sectioning: part, chapter, section, ...
        - size of characters
        - lists: itemize, enumerate, description
        - various: label, ref, pageref, cite, footnote, index
diff --git a/src/main.h b/src/main.h
index 1d59b89..1cf4513 100644
--- a/src/main.h
+++ b/src/main.h
@@ -33,16 +33,6 @@
 #      define N_(STRING) (STRING)
 #endif
 
-// if GTK+ version is < 2.14.0
-#if !GTK_CHECK_VERSION(2, 14, 0)
-#      if !defined(gtk_dialog_get_action_area)
-#              define gtk_dialog_get_action_area(dialog) GTK_DIALOG(dialog)->action_area
-#      endif
-#      if !defined(gtk_dialog_get_content_area)
-#              define gtk_dialog_get_content_area(dialog) GTK_DIALOG(dialog)->vbox
-#      endif
-#endif
-
 // each document opened is represented by a document_t structure
 typedef struct
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]