Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 533646 Details for
Bug 656754
media-gfx/gnome-font-viewer-3.24.0 crashes on opening a font file
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
font-view: ensure the window exists when opening a file
gnome-font-viewer-3.24.0-ensure-window-exists.patch (text/plain), 1.16 KB, created by
Bruce Guenter
on 2018-05-28 15:53:40 UTC
(
hide
)
Description:
font-view: ensure the window exists when opening a file
Filename:
MIME Type:
Creator:
Bruce Guenter
Created:
2018-05-28 15:53:40 UTC
Size:
1.16 KB
patch
obsolete
>From 0beb4d974d87eb4d5c6175143e6a6c3534feb38a Mon Sep 17 00:00:00 2001 >From: Cosimo Cecchi <cosimoc@gnome.org> >Date: Wed, 17 May 2017 12:11:56 -0700 >Subject: [PATCH 2/2] font-view: ensure the window exists when opening a file > >We refactored the initialization path, but forgot a case where the >window needs to be created during startup. > >https://bugzilla.gnome.org/show_bug.cgi?id=782738 >--- > src/font-view.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/src/font-view.c b/src/font-view.c >index 21aebf4..4a216c2 100644 >--- a/src/font-view.c >+++ b/src/font-view.c >@@ -88,6 +88,7 @@ static const GOptionEntry goption_options[] = > G_DEFINE_TYPE (FontViewApplication, font_view_application, GTK_TYPE_APPLICATION); > > static void font_view_application_do_overview (FontViewApplication *self); >+static void ensure_window (FontViewApplication *self); > > #define VIEW_ITEM_WIDTH 140 > #define VIEW_ITEM_WRAP_WIDTH 128 >@@ -737,6 +738,7 @@ query_info_ready_cb (GObject *object, > GFileInfo *info; > GError *error = NULL; > >+ ensure_window (self); > g_application_release (G_APPLICATION (self)); > > info = g_file_query_info_finish (G_FILE (object), res, &error); >-- >2.16.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 656754
:
533640
|
533644
| 533646