aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-30 05:05:09 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-30 05:05:09 +0800
commitc76b79acb1dd84aec4b91bae8841099699a38139 (patch)
tree2b0b28700be1db98ad314b12e00b4d76d6885fee /src/prefs-dialog.c
parent6ca9d693750a2b0807670b0072ed5d162e12fea0 (diff)
downloadgsoc2013-epiphany-c76b79acb1dd84aec4b91bae8841099699a38139.tar
gsoc2013-epiphany-c76b79acb1dd84aec4b91bae8841099699a38139.tar.gz
gsoc2013-epiphany-c76b79acb1dd84aec4b91bae8841099699a38139.tar.bz2
gsoc2013-epiphany-c76b79acb1dd84aec4b91bae8841099699a38139.tar.lz
gsoc2013-epiphany-c76b79acb1dd84aec4b91bae8841099699a38139.tar.xz
gsoc2013-epiphany-c76b79acb1dd84aec4b91bae8841099699a38139.tar.zst
gsoc2013-epiphany-c76b79acb1dd84aec4b91bae8841099699a38139.zip
Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed all
2003-12-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_get_encodings), (ephy_embed_shell_check_mime), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-completion-model.c: (ephy_completion_model_init): * src/ephy-shell.c: (ephy_shell_get_history_window): * src/ephy-tab.c: (ephy_tab_set_icon_address), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb): * src/ephy-toolbars-model.c: (impl_get_item_id): * src/prefs-dialog.c: (setup_font_combo), (prefs_clear_cache_button_clicked_cb): Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed all callers.
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r--src/prefs-dialog.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index f8d699e59..06d5ea77a 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -441,8 +441,7 @@ setup_font_combo (EphyDialog *dialog,
char key[255];
EphyEmbedSingle *single;
- single = ephy_embed_shell_get_embed_single
- (EPHY_EMBED_SHELL (ephy_shell));
+ single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (embed_shell));
fonts = ephy_embed_single_get_font_list (single, code);
g_snprintf (key, 255, "%s_%s_%s", CONF_RENDERING_FONT, type, code);
@@ -1230,9 +1229,7 @@ prefs_clear_cache_button_clicked_cb (GtkWidget *button,
{
EphyEmbedSingle *single;
- single = ephy_embed_shell_get_embed_single
- (EPHY_EMBED_SHELL (ephy_shell));
-
+ single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (embed_shell));
ephy_embed_single_clear_cache (single);
}