diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-31 04:09:59 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-31 04:09:59 +0800 |
commit | e079b8f01e96df848268e822afc531acc98bf68f (patch) | |
tree | 2ce2513be9a96806b46a4d697d90a5d3ef0cd19d | |
parent | 8f01817138c1852b319898a5de3f4b9f244cdea5 (diff) | |
download | gsoc2013-epiphany-e079b8f01e96df848268e822afc531acc98bf68f.tar gsoc2013-epiphany-e079b8f01e96df848268e822afc531acc98bf68f.tar.gz gsoc2013-epiphany-e079b8f01e96df848268e822afc531acc98bf68f.tar.bz2 gsoc2013-epiphany-e079b8f01e96df848268e822afc531acc98bf68f.tar.lz gsoc2013-epiphany-e079b8f01e96df848268e822afc531acc98bf68f.tar.xz gsoc2013-epiphany-e079b8f01e96df848268e822afc531acc98bf68f.tar.zst gsoc2013-epiphany-e079b8f01e96df848268e822afc531acc98bf68f.zip |
Some sparse fixes.
2005-01-30 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-history.c: (ephy_history_new):
* lib/ephy-dialog.c:
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_new):
* src/ephy-link.c: (ephy_link_open):
* src/ephy-statusbar.c: (create_statusbar_security_icon):
* src/ephy-window.c:
* src/prefs-dialog.c: (get_download_button_label):
Some sparse fixes.
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | embed/ephy-history.c | 2 | ||||
-rw-r--r-- | lib/ephy-dialog.c | 10 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 2 | ||||
-rw-r--r-- | src/ephy-link.c | 2 | ||||
-rwxr-xr-x | src/ephy-statusbar.c | 2 | ||||
-rw-r--r-- | src/ephy-window.c | 10 | ||||
-rw-r--r-- | src/prefs-dialog.c | 2 |
8 files changed, 27 insertions, 15 deletions
@@ -1,5 +1,17 @@ 2005-01-30 Christian Persch <chpe@cvs.gnome.org> + * embed/ephy-history.c: (ephy_history_new): + * lib/ephy-dialog.c: + * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_new): + * src/ephy-link.c: (ephy_link_open): + * src/ephy-statusbar.c: (create_statusbar_security_icon): + * src/ephy-window.c: + * src/prefs-dialog.c: (get_download_button_label): + + Some sparse fixes. + +2005-01-30 Christian Persch <chpe@cvs.gnome.org> + * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: diff --git a/embed/ephy-history.c b/embed/ephy-history.c index 5c87a9f8f..31873b51f 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -616,7 +616,7 @@ ephy_history_finalize (GObject *object) } EphyHistory * -ephy_history_new () +ephy_history_new (void) { return EPHY_HISTORY (g_object_new (EPHY_TYPE_HISTORY, NULL)); } diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c index d6ec0e1ea..efeb5dcdd 100644 --- a/lib/ephy-dialog.c +++ b/lib/ephy-dialog.c @@ -82,11 +82,11 @@ struct _EphyDialogPrivate GtkWidget *parent; GtkWidget *dialog; - gboolean modal : 1; - gboolean has_default_size : 1; - gboolean disposing : 1; - gboolean initialized : 1; - gboolean persist_position : 1; + guint modal : 1; + guint has_default_size : 1; + guint disposing : 1; + guint initialized : 1; + guint persist_position : 1; int default_width; int default_height; }; diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index 0d055993c..b7c4e4993 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -936,7 +936,7 @@ ephy_bookmarks_finalize (GObject *object) } EphyBookmarks * -ephy_bookmarks_new () +ephy_bookmarks_new (void) { EphyBookmarks *eb; diff --git a/src/ephy-link.c b/src/ephy-link.c index 6fb34e878..06c58afff 100644 --- a/src/ephy-link.c +++ b/src/ephy-link.c @@ -89,7 +89,7 @@ ephy_link_open (EphyLink *link, {
EphyTab *new_tab = NULL;
- LOG ("ephy_link_open address \"%s\" parent-tab %p flags %u", address, tab, flags)
; + LOG ("ephy_link_open address \"%s\" parent-tab %p flags %u", address, tab, flags);
g_signal_emit (link, signals[OPEN_LINK], 0,
address, tab, flags,
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c index d45942d97..85ea0581e 100755 --- a/src/ephy-statusbar.c +++ b/src/ephy-statusbar.c @@ -107,7 +107,7 @@ create_statusbar_security_icon (EphyStatusbar *s) gtk_container_add (GTK_CONTAINER (s->priv->security_evbox), GTK_WIDGET (s->priv->security_icon)); - ephy_statusbar_set_security_state (s, FALSE, NULL); + ephy_statusbar_set_security_state (s, NULL, NULL); gtk_widget_show_all (s->security_frame); diff --git a/src/ephy-window.c b/src/ephy-window.c index c7e8c60c3..b1f1c1096 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -394,11 +394,11 @@ struct _EphyWindowPrivate guint browse_with_caret_notifier_id; guint allow_popups_notifier_id; - gboolean closing : 1; - gboolean has_size : 1; - gboolean fullscreen_mode : 1; - gboolean ppv_mode : 1; - gboolean should_save_chrome : 1; + guint closing : 1; + guint has_size : 1; + guint fullscreen_mode : 1; + guint ppv_mode : 1; + guint should_save_chrome : 1; }; enum diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 6e631de76..5b3e95b12 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1427,7 +1427,7 @@ create_language_section (EphyDialog *dialog) } static char* -get_download_button_label () +get_download_button_label (void) { char *key, *label, *downloads_path, *converted_dp; |