aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@svn.gnome.org>2007-03-06 03:17:20 +0800
committerChristian Persch <chpe@src.gnome.org>2007-03-06 03:17:20 +0800
commit9a2e625a9f70d5a1826a68b5c0b1f72c7971d7ad (patch)
tree3927c18ba154eeae62f5647d8ee6180c2d4ca16d /src
parente6102a083736dd6429f553647b1d432e11a30a44 (diff)
downloadgsoc2013-epiphany-9a2e625a9f70d5a1826a68b5c0b1f72c7971d7ad.tar
gsoc2013-epiphany-9a2e625a9f70d5a1826a68b5c0b1f72c7971d7ad.tar.gz
gsoc2013-epiphany-9a2e625a9f70d5a1826a68b5c0b1f72c7971d7ad.tar.bz2
gsoc2013-epiphany-9a2e625a9f70d5a1826a68b5c0b1f72c7971d7ad.tar.lz
gsoc2013-epiphany-9a2e625a9f70d5a1826a68b5c0b1f72c7971d7ad.tar.xz
gsoc2013-epiphany-9a2e625a9f70d5a1826a68b5c0b1f72c7971d7ad.tar.zst
gsoc2013-epiphany-9a2e625a9f70d5a1826a68b5c0b1f72c7971d7ad.zip
Don't use C++-style comments in C files. No code changes, only comments
2007-03-05 Christian Persch <chpe@svn.gnome.org> * lib/ephy-password-dialog.c: (update_capslock_warning), (ephy_password_dialog_constructor), (ephy_password_dialog_finalize), (ephy_password_dialog_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_updated): * src/ephy-cert-manager-dialog.c: (certs_manager_dialog_remove_button_clicked_cb), (certs_manager_dialog_finalize): * src/ephy-find-toolbar.c: (ephy_find_toolbar_init): * src/ephy-main.c: (unref_proxy_reply_cb): Don't use C++-style comments in C files. No code changes, only comments changed. Bug #414706, patch by John Millikin. svn path=/trunk/; revision=6940
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmark-action.c6
-rw-r--r--src/ephy-cert-manager-dialog.c8
-rw-r--r--src/ephy-find-toolbar.c2
-rw-r--r--src/ephy-main.c4
4 files changed, 11 insertions, 9 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index 9d14554e7..09efd132d 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -533,18 +533,18 @@ ephy_bookmark_action_updated (EphyBookmarkAction *action)
g_object_freeze_notify (G_OBJECT (action));
- // Set smart_url
+ /* Set smart_url */
action->priv->smart_url = ephy_node_has_child (smart, node);
g_object_notify (G_OBJECT (action), "smarturl");
- // Set title
+ /* Set title */
title = ephy_node_get_property_string (node, EPHY_NODE_BMK_PROP_TITLE);
g_value_init (&value, G_TYPE_STRING);
g_value_set_static_string (&value, title);
g_object_set_property (G_OBJECT (action), "label", &value);
g_value_unset (&value);
- // Notify all other properties
+ /* Notify all other properties */
g_object_notify (G_OBJECT (action), "location");
g_object_notify (G_OBJECT (action), "tooltip");
g_object_notify (G_OBJECT (action), "icon");
diff --git a/src/ephy-cert-manager-dialog.c b/src/ephy-cert-manager-dialog.c
index 07e16f6df..569e80382 100644
--- a/src/ephy-cert-manager-dialog.c
+++ b/src/ephy-cert-manager-dialog.c
@@ -297,7 +297,7 @@ certs_manager_dialog_remove_button_clicked_cb (GtkButton *button,
cert = EPHY_X509_CERT (g_value_dup_object (&val));
g_value_unset (&val);
- // TODO check return value and notify if an error ocurred
+ /* TODO check return value and notify if an error ocurred */
ephy_certificate_manager_remove_certificate (priv->certs_manager,
cert);
g_object_unref (cert);
@@ -455,8 +455,10 @@ certs_manager_dialog_init (CertsManagerDialog *dialog)
static void
certs_manager_dialog_finalize (GObject *object)
{
- //CertsManagerDialog *dialog = EPHY_CERTS_MANAGER_DIALOG (object);
- //CertsManagerDialogPrivate *priv = dialog->priv;
+/*
+ CertsManagerDialog *dialog = EPHY_CERTS_MANAGER_DIALOG (object);
+ CertsManagerDialogPrivate *priv = dialog->priv;
+*/
EphyEmbedShell *shell;
/* TODO free certs in the treeviews */
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 82f778a18..23bf19eeb 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -361,7 +361,7 @@ ephy_find_toolbar_init (EphyFindToolbar *toolbar)
item = gtk_tool_item_new ();
gtk_container_add (GTK_CONTAINER (item), alignment);
- //gtk_tool_item_set_expand (item, TRUE);
+ /* gtk_tool_item_set_expand (item, TRUE); */
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
gtk_widget_show_all (GTK_WIDGET (item));
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 2e071d486..06eb47f8f 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -60,7 +60,7 @@ static GQuark startup_error_quark = 0;
static gboolean open_in_new_tab = FALSE;
static gboolean open_in_new_window = FALSE;
static gboolean open_as_bookmarks_editor = FALSE;
-//static gboolean reload_plugins = FALSE;
+/*static gboolean reload_plugins = FALSE;*/
static char *session_filename = NULL;
static char *bookmark_url = NULL;
@@ -228,7 +228,7 @@ unref_proxy_reply_cb (DBusGProxy *proxy,
if (error != NULL)
{
g_warning ("An error occured while calling remote method: %s", error->message);
- g_error_free (error);// FIXME???
+ g_error_free (error);/* FIXME??? */
}
g_object_unref (proxy);