Recent changes (master)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit eb19930cf6e8315417b01e00669446a383c69690:

  Add -Wdeclaration-after-statement to compiler flags (2013-04-17 10:54:53 -0700)

are available in the git repository at:
  git://git.kernel.dk/fio.git master

Jens Axboe (1):
      gerror: mixed code/data section

 gerror.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

---

Diff of recent changes:

diff --git a/gerror.c b/gerror.c
index 3036738..43bdaba 100644
--- a/gerror.c
+++ b/gerror.c
@@ -24,6 +24,8 @@ static void report_error(struct gui_entry *ge, GError *error)
 	struct gui *ui = ge->ui;
 
 	if (ui->error_info_bar == NULL) {
+		GtkWidget *container;
+
 		ui->error_info_bar = gtk_info_bar_new_with_buttons(GTK_STOCK_OK,
 						GTK_RESPONSE_OK, NULL);
 		g_signal_connect(ui->error_info_bar, "response", G_CALLBACK(on_info_bar_response), ui);
@@ -31,7 +33,7 @@ static void report_error(struct gui_entry *ge, GError *error)
 						GTK_MESSAGE_ERROR);
 
 		ui->error_label = gtk_label_new(error->message);
-		GtkWidget *container = gtk_info_bar_get_content_area(GTK_INFO_BAR(ui->error_info_bar));
+		container = gtk_info_bar_get_content_area(GTK_INFO_BAR(ui->error_info_bar));
 		gtk_container_add(GTK_CONTAINER(container), ui->error_label);
 
 		gtk_box_pack_start(GTK_BOX(ui->vbox), ui->error_info_bar, FALSE, FALSE, 0);
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux