pidgin/gtkdialogs.c

changeset 37422
07dcc28b6039
parent 37417
b29ee022017f
child 37488
88afe246144e
equal deleted inserted replaced
37421:ee3bd4532a33 37422:07dcc28b6039
465 GtkWidget *win, *vbox, *frame, *logo, *webview, *button; 465 GtkWidget *win, *vbox, *frame, *logo, *webview, *button;
466 GdkPixbuf *pixbuf; 466 GdkPixbuf *pixbuf;
467 AtkObject *obj; 467 AtkObject *obj;
468 char *filename, *tmp; 468 char *filename, *tmp;
469 469
470 #if GTK_CHECK_VERSION(3,0,0)
471 win = pidgin_create_dialog(title, 0, role, TRUE); 470 win = pidgin_create_dialog(title, 0, role, TRUE);
472 vbox = pidgin_dialog_get_vbox_with_properties(GTK_DIALOG(win), FALSE, 0); 471 vbox = pidgin_dialog_get_vbox_with_properties(GTK_DIALOG(win), FALSE, 0);
473 #else
474 win = pidgin_create_dialog(title, PIDGIN_HIG_BORDER, role, TRUE);
475 vbox = pidgin_dialog_get_vbox_with_properties(GTK_DIALOG(win), FALSE, PIDGIN_HIG_BORDER);
476 #endif
477 gtk_window_set_default_size(GTK_WINDOW(win), 475, 450); 472 gtk_window_set_default_size(GTK_WINDOW(win), 475, 450);
478 473
479 /* Generate a logo with a version number */ 474 /* Generate a logo with a version number */
480 filename = g_build_filename(PURPLE_DATADIR, 475 filename = g_build_filename(PURPLE_DATADIR,
481 "pixmaps", "pidgin", "logo.png", NULL); 476 "pixmaps", "pidgin", "logo.png", NULL);

mercurial