(trunk gtk) hig.c cleanup. (1) make hig_workarea_add_control private (2) remove unused function hig_message_dialog_set_text

This commit is contained in:
Charles Kerr 2010-12-21 17:22:37 +00:00
parent 250a5fd8ec
commit 0372797e6f
2 changed files with 1 additions and 19 deletions

View File

@ -155,7 +155,7 @@ hig_workarea_add_tall_control( GtkWidget * t,
0, 0 );
}
void
static void
hig_workarea_add_control( GtkWidget * t,
int row,
GtkWidget * control )
@ -226,13 +226,3 @@ hig_workarea_finish( GtkWidget * t,
{
gtk_table_resize( GTK_TABLE( t ), *row, 2 );
}
void
hig_message_dialog_set_text( GtkMessageDialog * dialog,
const char * primary,
const char * secondary )
{
gtk_message_dialog_set_markup ( dialog, primary );
gtk_message_dialog_format_secondary_text ( dialog, "%s", secondary );
}

View File

@ -54,10 +54,6 @@ void hig_workarea_add_label_w( GtkWidget * table,
int row,
GtkWidget * label_widget );
void hig_workarea_add_control( GtkWidget * table,
int row,
GtkWidget * control );
GtkWidget* hig_workarea_add_tall_row( GtkWidget * table,
int * row,
const char * mnemonic_string,
@ -79,10 +75,6 @@ void hig_workarea_add_row_w( GtkWidget * table,
void hig_workarea_finish( GtkWidget * table,
int * row );
void hig_message_dialog_set_text( GtkMessageDialog * dialog,
const char * primary,
const char * secondary );
enum
{
GUI_PAD_SMALL = 3,