[planner: 55/61] task-dialog: Drop remaining unnecessary PlannerCellRendererList usage




commit 9d05b450acd4ef7678b8d1a0e13b7a443812dfbd
Author: Mart Raudsepp <leio gentoo org>
Date:   Sat Mar 20 23:33:43 2021 +0200

    task-dialog: Drop remaining unnecessary PlannerCellRendererList usage
    
    The name of the task the predecessor relationship was with was using
    PlannerCellRendererList as well, but only using the GtkCellRendererText
    base class functionality. Change it to just be a GtkCellRendererText
    directly, dropping the overall last usage of PlannerCellRendererList.

 src/planner-task-dialog.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/planner-task-dialog.c b/src/planner-task-dialog.c
index a4929f03..55f67ce2 100644
--- a/src/planner-task-dialog.c
+++ b/src/planner-task-dialog.c
@@ -32,7 +32,6 @@
 #include <libplanner/mrp-project.h>
 #include <libplanner/mrp-private.h>
 #include "libplanner/mrp-paths.h"
-#include "planner-cell-renderer-list.h"
 #include "planner-assignment-model.h"
 #include "planner-predecessor-model.h"
 #include "planner-task-cmd.h"
@@ -2653,7 +2652,7 @@ task_dialog_setup_predecessor_list (DialogData *data)
                                     GTK_SELECTION_SINGLE);
 
        /* Name */
-       cell = planner_cell_renderer_list_new ();
+       cell = gtk_cell_renderer_text_new ();
 
        g_object_set (cell, "editable", FALSE, NULL);
 


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