Unbroke with gnomedb-0.2.90.

This commit is contained in:
Maxim Sobolev 2001-08-13 09:54:07 +00:00
parent 599ff655c9
commit 98311ec109
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46169
4 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,14 @@
$FreeBSD$
--- glade/gnome-db/gnomedberror.c 2001/08/13 09:43:59 1.1
+++ glade/gnome-db/gnomedberror.c 2001/08/13 09:44:25
@@ -46,7 +46,7 @@
static GtkWidget*
gb_gnome_db_error_new (GbWidgetNewData *data)
{
- return gnome_db_error_new (NULL);
+ return gnome_db_error_new ();
}

View file

@ -0,0 +1,32 @@
$FreeBSD$
--- glade/gnome-db/gnomedberrordlg.c 2001/08/13 09:48:33 1.1
+++ glade/gnome-db/gnomedberrordlg.c 2001/08/13 09:52:31
@@ -60,7 +60,7 @@
GtkWidget *widget;
GList *elem;
- widget = gnome_db_errordlg_new (NULL, _("Error"));
+ widget = gnome_db_error_dialog_new (_("Error"));
/* Stop the normal dismiss operation since it can cause a crash. */
elem = g_list_nth (GNOME_DIALOG (widget)->buttons, 2);
@@ -155,7 +155,7 @@
gchar *title;
title = GTK_WINDOW (widget)->title;
- source_add (data, " %s = gnome_db_errordlg_new (NULL, %s);\n",
+ source_add (data, " %s = gnome_db_error_dialog_new (%s);\n",
data->wname,
title ? source_make_string (title, data->use_gettext)
: "NULL");
@@ -182,7 +182,7 @@
gb_gnome_db_errordlg_init ()
{
/* Initialise the GTK type */
- gnome_db_errordlg_get_type();
+ gnome_db_error_dialog_get_type();
/* Initialize the GbWidget structure */
gb_widget_init_struct(&gbwidget);

View file

@ -0,0 +1,14 @@
$FreeBSD$
--- glade/gnome-db/gnomedberror.c 2001/08/13 09:43:59 1.1
+++ glade/gnome-db/gnomedberror.c 2001/08/13 09:44:25
@@ -46,7 +46,7 @@
static GtkWidget*
gb_gnome_db_error_new (GbWidgetNewData *data)
{
- return gnome_db_error_new (NULL);
+ return gnome_db_error_new ();
}

View file

@ -0,0 +1,32 @@
$FreeBSD$
--- glade/gnome-db/gnomedberrordlg.c 2001/08/13 09:48:33 1.1
+++ glade/gnome-db/gnomedberrordlg.c 2001/08/13 09:52:31
@@ -60,7 +60,7 @@
GtkWidget *widget;
GList *elem;
- widget = gnome_db_errordlg_new (NULL, _("Error"));
+ widget = gnome_db_error_dialog_new (_("Error"));
/* Stop the normal dismiss operation since it can cause a crash. */
elem = g_list_nth (GNOME_DIALOG (widget)->buttons, 2);
@@ -155,7 +155,7 @@
gchar *title;
title = GTK_WINDOW (widget)->title;
- source_add (data, " %s = gnome_db_errordlg_new (NULL, %s);\n",
+ source_add (data, " %s = gnome_db_error_dialog_new (%s);\n",
data->wname,
title ? source_make_string (title, data->use_gettext)
: "NULL");
@@ -182,7 +182,7 @@
gb_gnome_db_errordlg_init ()
{
/* Initialise the GTK type */
- gnome_db_errordlg_get_type();
+ gnome_db_error_dialog_get_type();
/* Initialize the GbWidget structure */
gb_widget_init_struct(&gbwidget);