Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215319 Details for
Bug 299792
www-client/epiphany-extensions-2.28.1-r1 fails with build errors.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Third source patch to epiphany-extensions-2.28.1-r1.ebuild.
epiphany-extensions-2.28.1-rss-minor-code-simplification.patch (text/plain), 4.47 KB, created by
Clemmitt M. Sigler
on 2010-01-05 17:53:38 UTC
(
hide
)
Description:
Third source patch to epiphany-extensions-2.28.1-r1.ebuild.
Filename:
MIME Type:
Creator:
Clemmitt M. Sigler
Created:
2010-01-05 17:53:38 UTC
Size:
4.47 KB
patch
obsolete
>commit 5ac817fd305dcea92d9db61c62c3de42a7da92a0 >Author: Diego Escalante Urrelo <diegoe gnome org> >Date: Sun Dec 20 15:39:39 2009 -0500 > > rss: minor code simplification > > extensions/rss/ephy-rss-extension.c | 50 ++++++++++++++-------------------- > extensions/rss/rss-ui.c | 2 +- > 2 files changed, 22 insertions(+), 30 deletions(-) >--- >diff --git a/extensions/rss/ephy-rss-extension.c b/extensions/rss/ephy-rss-extension.c >index d672838..17f2ac9 100644 >--- a/extensions/rss/ephy-rss-extension.c >+++ b/extensions/rss/ephy-rss-extension.c >@@ -149,25 +149,30 @@ ephy_rss_ge_context_cb (EphyWebView *view, > EphyWindow *window) > { > WindowData *data; >- GValue *value = NULL; >+ GValue value = { 0, }; > const char *address; > FeedList *list; > gboolean active = FALSE; > >- list = (FeedList *) g_object_get_data (G_OBJECT (view), FEEDLIST_DATA_KEY); >+ list = g_object_get_data (G_OBJECT (view), FEEDLIST_DATA_KEY); >+ > if ((ephy_embed_event_get_context (event) & WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK) && (list != NULL)) > { > LOG ("Context menu on a link"); >- data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); >+ data = g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); > g_return_val_if_fail (data != NULL, FALSE); > >- ephy_embed_event_get_property (event, "link", value); >- address = g_value_get_string (value); >+ ephy_embed_event_get_property (event, "link", &value); >+ address = g_value_get_string (&value); > > active = rss_feedlist_contains (list, address); > > LOG ("Showing menu item: %d", active); >- g_object_set(data->subscribe_action, "sensitive", active, "visible", active, NULL); >+ g_object_set (data->subscribe_action, >+ "sensitive", active, >+ "visible", active, >+ NULL); >+ g_value_unset (&value); > } > > return FALSE; >@@ -192,22 +197,13 @@ ephy_rss_dialog_display (EphyWindow *window) > view = ephy_embed_get_web_view (embed); > g_return_if_fail (view != NULL); > >- list = (FeedList *) g_object_get_data (G_OBJECT (view), FEEDLIST_DATA_KEY); >- if (list == NULL) >- return; >+ list = g_object_get_data (G_OBJECT (view), FEEDLIST_DATA_KEY); >+ g_return_if_fail (list != NULL); > > if (priv->dialog == NULL) > { >- RssUI **dialog; >- > LOG ("Trying to build dialog"); >- > priv->dialog = rss_ui_new (list, embed); >- >- dialog = &priv->dialog; >- >- g_object_add_weak_pointer (G_OBJECT (priv->dialog), >- (gpointer *) dialog); > } > > ephy_dialog_set_parent (EPHY_DIALOG (priv->dialog), >@@ -243,7 +239,7 @@ ephy_rss_update_statusbar (EphyWindow *window, > WindowData *data; > > /* Show / Hide statusbar icon */ >- data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); >+ data = g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); > g_return_if_fail (data != NULL); > > g_object_set (data->evbox, "visible", show, NULL); >@@ -265,19 +261,21 @@ ephy_rss_update_action (EphyWindow *window) > g_return_if_fail (view != NULL); > > /* The page is loaded, do we have a feed ? */ >- list = (FeedList *) g_object_get_data (G_OBJECT (view), FEEDLIST_DATA_KEY); >- >+ list = g_object_get_data (G_OBJECT (view), FEEDLIST_DATA_KEY); > show = rss_feedlist_length (list) > 0; > > /* Disable the menu item when loading the page */ >- data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); >+ data = g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY); > g_return_if_fail (data != NULL); > > g_object_set (data->info_action, "sensitive", show, NULL); > > ephy_rss_update_statusbar (window, show); > >- g_object_set(data->subscribe_action, "sensitive", show, "visible", show, NULL); >+ g_object_set (data->subscribe_action, >+ "sensitive", show, >+ "visible", show, >+ NULL); > } > > /* Called when the user changes tab */ >@@ -519,13 +517,7 @@ ephy_rss_extension_finalize (GObject *object) > > /* Dispose the dialog */ > if (extension->priv->dialog != NULL) >- { >- RssUI **dialog = &extension->priv->dialog; >- >- g_object_unref (*dialog); >- g_object_remove_weak_pointer (G_OBJECT (*dialog), >- (gpointer *) dialog); >- } >+ g_object_unref (extension->priv->dialog); > > parent_class->finalize (object); > } >diff --git a/extensions/rss/rss-ui.c b/extensions/rss/rss-ui.c >index 343ccfc..13f5166 100644 >--- a/extensions/rss/rss-ui.c >+++ b/extensions/rss/rss-ui.c >@@ -503,7 +503,7 @@ rss_ui_init (RssUI *dialog) > LOG ("No connection to dbus:%s", error->message); > g_error_free (error); > return; >- } >+ } > > dialog->priv->proxy = dbus_g_proxy_new_for_name (connection, > RSS_DBUS_SERVICE, >
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 299792
:
215316
|
215317
|
215318
| 215319