p2v: remove non-author credits

Soon only the virt-p2v authors will be available, so remove all the
other roles.  This leaves only in the virt-p2v about dialog, which is a
mild regression compared to the current situation, although it is just
for user information.
This commit is contained in:
Pino Toscano
2019-07-02 15:54:13 +02:00
parent 7ad6afc222
commit 1fe60aabdf
3 changed files with 0 additions and 33 deletions

View File

@@ -170,21 +170,6 @@ let generate_p2v_about_authors_c () =
pr "const char *authors[] = {\n";
List.iter fn authors;
pr " NULL\n";
pr "};\n\n";
pr "/* Libguestfs quality assurance (if not included above). */\n";
pr "const char *qa[] = {\n";
List.iter fn qa;
pr " NULL\n";
pr "};\n\n";
pr "/* Libguestfs documentation (if not included above). */\n";
pr "const char *documenters[] = {\n";
List.iter fn documenters;
pr " NULL\n";
pr "};\n\n";
pr "/* Libguestfs developers (if not included above). */\n";
pr "const char *others[] = {\n";
List.iter fn others;
pr " NULL\n";
pr "};\n"
let generate_p2v_authors () =

View File

@@ -49,11 +49,6 @@ gdk_event_get_button (const GdkEvent *event, guint *button)
(box) = gtk_vbox_new ((homogeneous), (spacing))
#endif
#if !GTK_CHECK_VERSION(3,4,0) /* gtk < 3.4 */
/* Gtk < 3.4 entirely lacked gtk_about_dialog_add_credit_section. */
#define gtk_about_dialog_add_credit_section(d,k,v) do {} while (0)
#endif
#if GTK_CHECK_VERSION(3,4,0) /* gtk >= 3.4 */
/* GtkGrid is sufficiently similar to GtkTable that we can just
* redefine these functions.

View File

@@ -654,19 +654,6 @@ about_button_clicked (GtkWidget *w, gpointer data)
"authors", authors,
NULL);
if (documenters[0] != NULL)
g_object_set (G_OBJECT (dialog),
"documenters", documenters,
NULL);
if (qa[0] != NULL)
gtk_about_dialog_add_credit_section (GTK_ABOUT_DIALOG (dialog),
"Quality assurance", qa);
if (others[0] != NULL)
gtk_about_dialog_add_credit_section (GTK_ABOUT_DIALOG (dialog),
"Libguestfs development", others);
gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (parent));
gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE);