diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-06-16 23:52:19 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-06-16 23:52:19 +0800 |
commit | 622cb80aadf523ca0d1c742f9235a04385edd1cd (patch) | |
tree | 920b263a7343cc0e63bad7e8fb79d5f5c72190a6 | |
parent | 89effea2d02847e7eae987f3b8ac607cbaad8a5b (diff) | |
download | gsoc2013-epiphany-622cb80aadf523ca0d1c742f9235a04385edd1cd.tar gsoc2013-epiphany-622cb80aadf523ca0d1c742f9235a04385edd1cd.tar.gz gsoc2013-epiphany-622cb80aadf523ca0d1c742f9235a04385edd1cd.tar.bz2 gsoc2013-epiphany-622cb80aadf523ca0d1c742f9235a04385edd1cd.tar.lz gsoc2013-epiphany-622cb80aadf523ca0d1c742f9235a04385edd1cd.tar.xz gsoc2013-epiphany-622cb80aadf523ca0d1c742f9235a04385edd1cd.tar.zst gsoc2013-epiphany-622cb80aadf523ca0d1c742f9235a04385edd1cd.zip |
Fix potential crash.
2003-06-16 Christian Persch <chpe@cvs.gnome.org>
* embed/find-dialog.c: (sync_embed):
Fix potential crash.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | embed/find-dialog.c | 7 |
2 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2003-06-16 Christian Persch <chpe@cvs.gnome.org> + * embed/find-dialog.c: (sync_embed): + + Fix potential crash. + +2003-06-16 Christian Persch <chpe@cvs.gnome.org> + * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): Do not mark non-user-visible strings for translation. diff --git a/embed/find-dialog.c b/embed/find-dialog.c index 18ef22fcc..f1dfbdcb2 100755 --- a/embed/find-dialog.c +++ b/embed/find-dialog.c @@ -42,7 +42,8 @@ static void impl_destruct (EphyDialog *dialog); static void impl_show (EphyDialog *dialog); - +static void +find_get_info (EphyDialog *dialog); /* Glade callbacks */ void find_close_button_clicked_cb (GtkWidget *button, EphyDialog *dialog); @@ -209,6 +210,8 @@ sync_embed (FindDialog *dialog, GParamSpec *pspec, gpointer data) LOG ("EphyEmbed changed") set_navigation_flags (dialog, FIND_CAN_GO_PREV | FIND_CAN_GO_NEXT); + + find_get_info (EPHY_DIALOG (dialog)); } static void @@ -217,7 +220,7 @@ find_dialog_init (FindDialog *dialog) dialog->priv = g_new0 (FindDialogPrivate, 1); dialog->priv->properties = NULL; - dialog->priv->nav_flags = FIND_CAN_GO_PREV | FIND_CAN_GO_NEXT; + dialog->priv->nav_flags = 0; dialog->priv->constructed = FALSE; g_signal_connect_object (dialog, "notify::embed", |