diff options
author | Christian Persch <chpe@svn.gnome.org> | 2007-03-06 03:17:20 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-03-06 03:17:20 +0800 |
commit | 9a2e625a9f70d5a1826a68b5c0b1f72c7971d7ad (patch) | |
tree | 3927c18ba154eeae62f5647d8ee6180c2d4ca16d /lib/ephy-password-dialog.c | |
parent | e6102a083736dd6429f553647b1d432e11a30a44 (diff) | |
download | gsoc2013-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 'lib/ephy-password-dialog.c')
-rw-r--r-- | lib/ephy-password-dialog.c | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/lib/ephy-password-dialog.c b/lib/ephy-password-dialog.c index 12ac55cfb..8cb0cd8ab 100644 --- a/lib/ephy-password-dialog.c +++ b/lib/ephy-password-dialog.c @@ -312,8 +312,10 @@ static void update_capslock_warning (GtkWidget *widget, gboolean show) { - //EphyPasswordDialog *dialog = EPHY_PASSWORD_DIALOG (dialog); - //EphyPasswordDialogPrivate *priv = dialog->priv; +/* + EphyPasswordDialog *dialog = EPHY_PASSWORD_DIALOG (dialog); + EphyPasswordDialogPrivate *priv = dialog->priv; +*/ g_print ("CapsLock is now %s\n", show?"on": "off"); } @@ -375,7 +377,7 @@ ephy_password_dialog_constructor (GType type, gtk_window_set_resizable (window, FALSE); gtk_box_set_spacing (GTK_BOX (dialog->vbox), 2); /* Message has 24, we want 12 = 2 + 2 * 5 */ - // gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); + /* gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); */ gtk_window_set_icon_name (window, EPHY_STOCK_EPHY); gtk_image_set_from_icon_name (GTK_IMAGE (message_dialog->image), @@ -384,7 +386,7 @@ ephy_password_dialog_constructor (GType type, vbox = message_dialog->label->parent; - // fixme resize later + /* fixme resize later */ table = GTK_TABLE (gtk_table_new (6, 2, FALSE)); gtk_table_set_row_spacings (table, 6); gtk_table_set_col_spacings (table, 12); @@ -461,9 +463,11 @@ ephy_password_dialog_constructor (GType type, EPHY_PASSWORD_DIALOG_FLAGS_SHOW_NEW_PASSWORD)) { priv->track_capslock = TRUE; -// gtk_table_attach (table, widget, -// 1, 2, row, row + 1, -// GTK_FILL | GTK_EXPAND, GTK_FILL, 0, 0); +/* + gtk_table_attach (table, widget, + 1, 2, row, row + 1, + GTK_FILL | GTK_EXPAND, GTK_FILL, 0, 0); +*/ } @@ -518,8 +522,10 @@ ephy_password_dialog_constructor (GType type, static void ephy_password_dialog_finalize (GObject *object) { -// EphyPasswordDialog *dialog = EPHY_PASSWORD_DIALOG (object); -// EphyPasswordDialogPrivate *priv = dialog->priv; +/* + EphyPasswordDialog *dialog = EPHY_PASSWORD_DIALOG (object); + EphyPasswordDialogPrivate *priv = dialog->priv; +*/ G_OBJECT_CLASS (ephy_password_dialog_parent_class)->finalize (object); } @@ -565,17 +571,20 @@ static void ephy_password_dialog_class_init (EphyPasswordDialogClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); -// GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); -// GtkDialogClass *dialog_class = GTK_DIALOG_CLASS (klass); +/* + GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); + GtkDialogClass *dialog_class = GTK_DIALOG_CLASS (klass); +*/ object_class->constructor = ephy_password_dialog_constructor; object_class->finalize = ephy_password_dialog_finalize; object_class->get_property = ephy_password_dialog_get_property; object_class->set_property = ephy_password_dialog_set_property; -// widget_class->key_press_event = ephy_password_dialog_key_press; - -// dialog_class->response = ephy_password_dialog_response; +/* + widget_class->key_press_event = ephy_password_dialog_key_press; + dialog_class->response = ephy_password_dialog_response; +*/ g_type_class_add_private (object_class, sizeof (EphyPasswordDialogPrivate)); |