amyedit-1.0-keyfile.patch 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. diff -ur amyedit-1.0/src/main.cc amyedit-1.0.new/src/main.cc
  2. --- amyedit-1.0/src/main.cc 2006-03-14 06:08:32.000000000 +0700
  3. +++ amyedit-1.0.new/src/main.cc 2008-01-07 20:45:39.000000000 +0700
  4. @@ -54,7 +54,6 @@
  5. #include "AmyEdit.hh"
  6. #include "gtksourceviewmm/init.hh"
  7. -#include "gtkmm_extra/keyfile.h"
  8. #include "Utils.hh"
  9. int main(int argc, char **argv)
  10. @@ -65,7 +64,6 @@
  11. Gtk::Main m(&argc, &argv);
  12. Gtk::SourceViewmm_init();
  13. - Glib::keyfile_init();
  14. /* TODO This should probably be removed and created on demand */
  15. Only in amyedit-1.0.new/src: main.o
  16. Only in amyedit-1.0.new/src: Makefile
  17. diff -ur amyedit-1.0/src/Makefile.am amyedit-1.0.new/src/Makefile.am
  18. --- amyedit-1.0/src/Makefile.am 2006-03-08 05:44:53.000000000 +0700
  19. +++ amyedit-1.0.new/src/Makefile.am 2008-01-07 20:41:46.000000000 +0700
  20. @@ -30,8 +30,7 @@
  21. gtksourceviewmm/sourcelanguage.cpp \
  22. gtksourceviewmm/sourcelanguagesmanager.cpp \
  23. gtksourceviewmm/sourceview.cpp \
  24. - gtksourceviewmm/init.cc \
  25. - gtkmm_extra/keyfile.cc
  26. + gtksourceviewmm/init.cc
  27. headers = \
  28. AboutDialog.hh \
  29. @@ -54,15 +53,13 @@
  30. gtksourceviewmm/sourcelanguage.h \
  31. gtksourceviewmm/sourcelanguagesmanager.h \
  32. gtksourceviewmm/sourceview.h \
  33. - gtksourceviewmm/init.hh \
  34. - gtkmm_extra/keyfile.h
  35. + gtksourceviewmm/init.hh
  36. privateheaders= \
  37. gtksourceviewmm/private/sourcebuffer_p.h \
  38. gtksourceviewmm/private/sourcelanguage_p.h \
  39. gtksourceviewmm/private/sourcelanguagesmanager_p.h \
  40. gtksourceviewmm/private/sourceview_p.h \
  41. - gtkmm_extra/private/keyfile_p.h \
  42. Utils_p.hh
  43. if PRECOMPILE_HEADERS
  44. diff -ur amyedit-1.0/src/PrefStruct.hh amyedit-1.0.new/src/PrefStruct.hh
  45. --- amyedit-1.0/src/PrefStruct.hh 2006-03-09 06:54:41.000000000 +0700
  46. +++ amyedit-1.0.new/src/PrefStruct.hh 2008-01-07 20:46:32.000000000 +0700
  47. @@ -24,7 +24,6 @@
  48. #include "Preferences.hh"
  49. #include <glibmm/ustring.h>
  50. -#include <gtkmm_extra/keyfile.h>
  51. #include <iostream>
  52. class PrefStruct