From 98311ec109ca947a7ff251a991f279821e290bce Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 13 Aug 2001 09:54:07 +0000 Subject: [PATCH] Unbroke with gnomedb-0.2.90. --- .../patch-glade::gnome-db::gnomedberror.c | 14 ++++++++ .../patch-glade::gnome-db::gnomedberrordlg.c | 32 +++++++++++++++++++ .../patch-glade::gnome-db::gnomedberror.c | 14 ++++++++ .../patch-glade::gnome-db::gnomedberrordlg.c | 32 +++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 devel/glade/files/patch-glade::gnome-db::gnomedberror.c create mode 100644 devel/glade/files/patch-glade::gnome-db::gnomedberrordlg.c create mode 100644 devel/glade2/files/patch-glade::gnome-db::gnomedberror.c create mode 100644 devel/glade2/files/patch-glade::gnome-db::gnomedberrordlg.c diff --git a/devel/glade/files/patch-glade::gnome-db::gnomedberror.c b/devel/glade/files/patch-glade::gnome-db::gnomedberror.c new file mode 100644 index 000000000000..7c8503f1bf44 --- /dev/null +++ b/devel/glade/files/patch-glade::gnome-db::gnomedberror.c @@ -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 (); + } + + diff --git a/devel/glade/files/patch-glade::gnome-db::gnomedberrordlg.c b/devel/glade/files/patch-glade::gnome-db::gnomedberrordlg.c new file mode 100644 index 000000000000..30a626b9ccec --- /dev/null +++ b/devel/glade/files/patch-glade::gnome-db::gnomedberrordlg.c @@ -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); diff --git a/devel/glade2/files/patch-glade::gnome-db::gnomedberror.c b/devel/glade2/files/patch-glade::gnome-db::gnomedberror.c new file mode 100644 index 000000000000..7c8503f1bf44 --- /dev/null +++ b/devel/glade2/files/patch-glade::gnome-db::gnomedberror.c @@ -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 (); + } + + diff --git a/devel/glade2/files/patch-glade::gnome-db::gnomedberrordlg.c b/devel/glade2/files/patch-glade::gnome-db::gnomedberrordlg.c new file mode 100644 index 000000000000..30a626b9ccec --- /dev/null +++ b/devel/glade2/files/patch-glade::gnome-db::gnomedberrordlg.c @@ -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);