comparison src/gtkutils.c @ 5794:5e93fc46d1af

[gaim-migrate @ 6219] Removed the __ prefix from static functions. I love them, but ANSI C knocked on my door and threatened to sue, saying they own all rights to them, so I was forced to remove them. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 07 Jun 2003 07:57:24 +0000
parents 2c04c55222b7
children 059d95c67cda
comparison
equal deleted inserted replaced
5793:952710ac6635 5794:5e93fc46d1af
524 524
525 return vbox; 525 return vbox;
526 } 526 }
527 527
528 static void 528 static void
529 __protocol_menu_cb(GtkWidget *optmenu, GCallback cb) 529 protocol_menu_cb(GtkWidget *optmenu, GCallback cb)
530 { 530 {
531 GtkWidget *menu; 531 GtkWidget *menu;
532 GtkWidget *item; 532 GtkWidget *item;
533 GaimProtocol protocol; 533 GaimProtocol protocol;
534 gpointer user_data; 534 gpointer user_data;
637 637
638 if (selected_index != -1) 638 if (selected_index != -1)
639 gtk_option_menu_set_history(GTK_OPTION_MENU(optmenu), selected_index); 639 gtk_option_menu_set_history(GTK_OPTION_MENU(optmenu), selected_index);
640 640
641 g_signal_connect(G_OBJECT(optmenu), "changed", 641 g_signal_connect(G_OBJECT(optmenu), "changed",
642 G_CALLBACK(__protocol_menu_cb), cb); 642 G_CALLBACK(protocol_menu_cb), cb);
643 643
644 g_object_unref(sg); 644 g_object_unref(sg);
645 645
646 return optmenu; 646 return optmenu;
647 } 647 }