commit gummi for openSUSE:13.1
Hello community, here is the log from the commit of package gummi for openSUSE:13.1 checked in at 2013-09-28 13:39:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.1/gummi (Old) and /work/SRC/openSUSE:13.1/.gummi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gummi" Changes: -------- --- /work/SRC/openSUSE:13.1/gummi/gummi.changes 2013-09-23 10:53:16.000000000 +0200 +++ /work/SRC/openSUSE:13.1/.gummi.new/gummi.changes 2013-09-28 13:39:29.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Sep 27 19:30:50 CEST 2013 - hpj@suse.com + +- Add gummi-fix-crash-on-opening-file.patch (bnc#840589, + http://dev.midnightcoding.org/issues/498 ). + +------------------------------------------------------------------- New: ---- gummi-fix-crash-on-opening-file.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gummi.spec ++++++ --- /var/tmp/diff_new_pack.DFgGnf/_old 2013-09-28 13:39:29.000000000 +0200 +++ /var/tmp/diff_new_pack.DFgGnf/_new 2013-09-28 13:39:29.000000000 +0200 @@ -28,6 +28,8 @@ # PATCH-FIX-UPSTREAM gummi-deprecated-g_thread_init.patch badshah400@gmail.com -- Remove usage of deprecated g_thread_init(). Patch0: gummi-deprecated-g_thread_init.patch %endif +# PATCH-FIX-UPSTREAM gummi-fix-crash-on-opening-file.patch bnc#840589 hpj@suse.com -- Fix crash on opening file from the GUI. +Patch1: gummi-fix-crash-on-opening-file.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: pkg-config @@ -52,6 +54,7 @@ %setup -q %if 0%{?suse_version} > 1210 %patch0 -p1 +%patch1 -p1 %endif %build ++++++ gummi-fix-crash-on-opening-file.patch ++++++ Upstream bug: http://dev.midnightcoding.org/issues/498 diff --git a/src/gui/gui-tabmanager.c b/src/gui/gui-tabmanager.c index 4056faf..c7b7c09 100644 --- a/src/gui/gui-tabmanager.c +++ b/src/gui/gui-tabmanager.c @@ -145,12 +145,13 @@ gchar* tabmanagergui_get_labeltext (GuTabPage* tp) { } gint tabmanagergui_replace_page (GuTabContext* tc, GuEditor* newec) { - + GtkWidget *scrolled_view = GTK_WIDGET (g_active_editor->view); + gummi->tabmanager->active_tab->editor = newec; - gtk_container_remove (GTK_CONTAINER (tc->page->scrollw), - GTK_WIDGET (g_active_editor->view)); editor_destroy (g_active_editor); + gtk_container_remove (GTK_CONTAINER (tc->page->scrollw), + scrolled_view); gtk_container_add (GTK_CONTAINER (tc->page->scrollw), GTK_WIDGET (newec->view)); gtk_widget_show (GTK_WIDGET(newec->view)); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de