eva         15/01/11 12:44:58

  Added:                subtitleeditor-0.41.0-subtitle-edition.patch
  Removed:              subtitleeditor-0.40.0-glib-2.31.patch
  Log:
  Fix subtitle editing, bug #536246.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
C6085806)

Revision  Changes    Path
1.1                  
media-video/subtitleeditor/files/subtitleeditor-0.41.0-subtitle-edition.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/subtitleeditor/files/subtitleeditor-0.41.0-subtitle-edition.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/subtitleeditor/files/subtitleeditor-0.41.0-subtitle-edition.patch?rev=1.1&content-type=text/plain

Index: subtitleeditor-0.41.0-subtitle-edition.patch
===================================================================
Author: Philip Rinn <[email protected]>
Description: With glib >= 2.42.0  you need to add interfaces before class_init
--- a/src/gui/textviewcell.cc
+++ b/src/gui/textviewcell.cc
@@ -30,8 +30,8 @@
  * Initialize the widget with the AutomaticSpellChecker.
  */
 TextViewCell::TextViewCell()
+:      Gtk::CellEditable(), 
+       Glib::ObjectBase(typeid(TextViewCell)),
-:      Glib::ObjectBase(typeid(TextViewCell)),
-       Gtk::CellEditable(), 
        m_editing_canceled(false), 
        m_used_ctrl_enter_to_confirm_change(false)
 {
 
--- a/src/gui/textviewcell.h
+++ b/src/gui/textviewcell.h
@@ -29,7 +29,7 @@
 /*
  * Cell text editable with multiline support.
  */
-class TextViewCell : public Gtk::TextView, public Gtk::CellEditable
+class TextViewCell : public Gtk::CellEditable, public Gtk::TextView
 {
 public:
 




Reply via email to