testgtk: Remove ability to reload all rc files

That ability didn't work for a while anyway, so removing client messages
doesn't hurt.
This commit is contained in:
Benjamin Otte 2011-02-01 06:27:46 +01:00
parent 9e401bef68
commit cf94070586

View File

@ -9531,26 +9531,6 @@ create_idle_test (GtkWidget *widget)
* rc file test
*/
void
reload_all_rc_files (void)
{
static GdkAtom atom_rcfiles = GDK_NONE;
GdkEvent *send_event = gdk_event_new (GDK_CLIENT_EVENT);
int i;
if (!atom_rcfiles)
atom_rcfiles = gdk_atom_intern("_GTK_READ_RCFILES", FALSE);
for(i = 0; i < 5; i++)
send_event->client.data.l[i] = 0;
send_event->client.data_format = 32;
send_event->client.message_type = atom_rcfiles;
gdk_event_send_clientmessage_toall (send_event);
gdk_event_free (send_event);
}
void
create_rc_file (GtkWidget *widget)
{
@ -9604,12 +9584,6 @@ create_rc_file (GtkWidget *widget)
gtk_box_pack_start (GTK_BOX (action_area), button, TRUE, TRUE, 0);
gtk_widget_grab_default (button);
button = gtk_button_new_with_label ("Reload All");
g_signal_connect (button, "clicked",
G_CALLBACK (reload_all_rc_files), NULL);
gtk_widget_set_can_default (button, TRUE);
gtk_box_pack_start (GTK_BOX (action_area), button, TRUE, TRUE, 0);
button = gtk_button_new_with_label ("Close");
g_signal_connect_swapped (button, "clicked",
G_CALLBACK (gtk_widget_destroy),